Reputation:
i am using Normal Sqlite concept with sqlite file for storing data updating data based on primaryKey,selecting record through foreign key.is it possible to convert my sqlite concept to core data concept(coding also for inserting,selecting,updating) completely.Coredata is object graph framework(not database).How can i code for primary key,foreign key? any example or tutorial to achieve it?
Upvotes: 0
Views: 251
Reputation: 1691
Here is a good tutorial for beginners, I actually just went through today. This is a one table implementation. Look at the next steps for some more advanced version with multi-table versions of the same app.
It is a very good walk through and talks you all the different aspects.
Upvotes: 0
Reputation: 15115
There's a tutorial on iPhone developer site here. And there are several sample codes with Core Data as well. These should get you started.
Upvotes: 2