Core Data In Motion
Learning to love Core Data in RubyMotion
Have you tried to use Core Data in RubyMotion, only to get lost in the quagmire of simplistic or confusing examples, DSL's and gems?
Have you been asking yourself questions like:
- Is it really necessary to use XCode to create and manage CoreData models? Actually no.
- How do relationships between models work in code anyway? It's a chicken-and-egg problem.
- How do you pre-load data into your Core Data store? It's easy with the REPL.
- What the heck is an NSFetchedResultsController, and why do you need one? Hint - performance/memory
- Isn't there a gem for all this? There are numerous options
Well, Core Data in Motion has got you covered. I went out and shaved that herd of yaks so you don't have to. And now I'll be serving it up in nice uniformly stuffed pillow-shaped pieces, I mean lectures.
Code oriented solutions
Core Data in Motion is an online course, tackling each of these problems head on, one section at a time, with a brief historical review of "the XCode/Objective-C way", and then providing a detailed, code-oriented solution using RubyMotion and the iOS SDK.
Gems - Pros & Cons
After we've achieved that base-level understanding of how Core Data actually works, we'll review the available RubyMotion gems which may provide even simpler solutions, but you'll now be able to understand exactly which problems those gems solve for you, which problems they do not, and be confident that you've chosen the best option to solve your specific problems.
Solve Real Problems
Core Data is hairy because it solves real problems - http://sealedabstract.com/code/you-should-use-core-data/.
If you are using RubyMotion to solve real problems, with a real data model, and complex data relationships, you need Core Data, and you need this course.
Lori is a Ruby, Rails, and RubyMotion developer of many years experience. She has written an iPhone app (WIMBY - http://wimby.ca) in RubyMotion, a book based on her experiences with Core Data while creating WIMBY (Core Data in Motion - http://coredatainmotion.com), and has spoken at RubyMotion #inspect. She has also taught well-received Rails4iOS Developers, and RubyMotion for Rails Developers workshops at conferences around the world.