开发者

sqlite concept to coredata concept?

i am using Normal Sqlite concept with sqlite file 开发者_如何学JAVAfor 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?


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.


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜