mslot
mslot

Reputation: 5224

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.

Upvotes: 3

Views: 19128

Answers (3)

willi
willi

Reputation: 6539

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: 6

Richard Stelling
Richard Stelling

Reputation: 25665

Here is a basic CoreData screencast that, while not specifically for the iPhone gives a decent introduction to CoreData concepts.

Upvotes: 0

Rose Perrone
Rose Perrone

Reputation: 63546

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

Upvotes: 3

Related Questions