Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 890
mslot Avatar asked Jul 22 '26 19:07

mslot


1 Answers

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.

like image 175
willi Avatar answered Jul 25 '26 23:07

willi