简体   繁体   中英

Adding core data to my iPhone app

I have been here before, asking for a mapping library that could store objects in a database. Some one told me about the Core Data Framework. I have read a bit about it and I kindda understand it. I have created some "test Core data projects", where I have worked with simple problems and models ala Person and Group. But now I want to experiment with implementing Core Data to one of my small iPhone apps. How do I do this? Subclassing from NSManagedObject and make a Managed Object Model? I know that there is more to it, but I havent found anything on google og apples site. Maybe Im looking in wrong direction while googling and searching. A link to an article/tutorial explaining me how to add Core Data to my project would make my day.

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.

The book, More iPhone 3 Development begins with a great tutorial demonstrating how to use Core Data. I've found it incredibly helpful.

这是一个基本的CoreData截屏视频 ,虽然不是专门为iPhone提供了一个体面的CoreData概念介绍。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM