CoreData

  • MOGenerator integration in XCode

    MOGenerator is a command line utility that generates NSManagedObject class files based on you model files. It creates a NSManagedObject derived class for each entity of your model. The utility can be run manually every time you change your model files (.xcdatamodeld). This manual process can easily be forgotten, and ideally we want it to…

  • Core Data – How to organize your contexts

    One of the main questions people have when using CoreData is how to organize their contexts. This theme always causes fired up debates of what is the best technique. In the following links you can find an explanation of main approaches and some pitfalls. http://www.cocoanetics.com/2012/07/multi-context-coredata/ http://cutecoder.org/programming/multithreading-core-data-ios/ http://floriankugler.com/blog/2013/4/29/concurrent-core-data-stack-performance-shootout

  • Core Data Issues

    iOS 5 brought a new way of organising your contexts(parent0-child) but be aware it also brought some interesting bugs: http://wbyoung.tumblr.com/post/27851725562/core-data-growing-pains#notes