Welcome, Guest
Username Password: Remember me

Reading and Displaying from SQLite using CoreData Example
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Reading and Displaying from SQLite using CoreData Example

Reading and Displaying from SQLite using CoreData Example 1 year, 7 months ago #1

I need some inputs for my requirements. I need to read and display the data(text,image,urls)from the SQLite. The data for the SQLite table comes from the XML file and needs to import from the command line. The sqlite needs to be packaged with the iphone app.

1.What are comamnd line sql steps to feed the XML data into the SQLite ?(e.g table Sponsors:name(label-string),logo(UIImage cell-image),url(string-UIButton)

2.Can we package the sqlite database that contains the 200 records with the iphone app?

3.What code needs to change for the core data example to just read and diaplay the data from the sqlite database
  • rajdn
  • OFFLINE
  • Senior Boarder
  • Posts: 47
  • Karma: 0

Re: Reading and Displaying from SQLite using CoreData Example 1 year, 7 months ago #2

Hi again Raj,

1 & 2 are way out of the scope of this forum

3: I suggest you load the XML data into Core Data entities and STV will automatically do the rest. Alternatively, you can manually load the data from SQLite and feed them into STV using the key-binding method (for more info on this method, please check out: sensiblecocoa.com/video-tutorials/watch/...inding-tutorial.html).
  • tarekskr
  • OFFLINE
  • Administrator
  • Posts: 2404
  • Karma: 72
  • Page:
  • 1
Time to create page: 1.21 seconds