Tag Archives: Categories

Adding Convenience Methods to NSFetchedResultsController via Categories

One really useful feature of Objective-C is the ability to extend an existing class without the need to sub-class via inheritance.  This means that existing code can stay in place whilst additional functionality is added for the convenience of future maintenance. Categories is the feature that makes this possible.  In effect, this says to the compiler, ‘add on these methods… Read more »

Moving Core Data to the Singleton

      1 Comment on Moving Core Data to the Singleton

[UPDATE:] You might like to read Revisiting the Singleton to see how my opinion has changed on this. Now we’ve established the principle of using a Singleton as our main app coordinator, it would make more sense to move the Core Data functions there.  If you choose to add Core Data when generating from an XCode template, these function are… Read more »