views:

71

answers:

4

Hey,

Is anyone aware of a good detailed Core Data tutorial that focuses only on using the code (i.e. no IB involvement)?

I've read the CD tutorial in the Xcode docs, and watched a few podcasts, but nothing really went from ground up.

Any help is appreciated.

A: 

If you're looking for a quick start, without learning too much detail, I'd try this: http://developer.apple.com/library/ios/#documentation/DataManagement/Conceptual/CoreDataSnippets/Introduction/Introduction.html and when you create your project check off "Use core data for storage". It has enough info to get off the ground.

If by no IB involvement you mean you want to create the managed object model programmatically...the info is in there, but it'll take you a lot longer to decipher it. Start by google-ing for "NSManagedObjectModel class reference", then go from there.

Alex Gosselin
+3  A: 

The Pragmatic Programmer book on Core Data by Marcus Zarra is pretty good. Also check out the CoreDataBooks example code from Apple.

That book is the best thing I know of, unfortunately. If you find anything better please post it. (Apple stuff tends to not be that great when it comes to tutorial-like stuff.)

Nimrod
+1  A: 

More iPhone 3 Development has a lot of good detail on Core Data

http://www.amazon.com/More-iPhone-Development-Tackling-Beginning/dp/143022505X

Flash84x