cocoa - tutorial - when to use core data




NSFetchedResultsController Mac OSX Cocoa equivalent (2)

I am porting some Core Data code from iPhone to Mac OS X.

Problem is that the Core Data Framework on Mac OS X does not have NSFetchedResultsController.h nor NSFetchedResultsControllerDelegate protocol declared; at least I am not able to force a Cocoa application to see this class even if I drag Core Data Framework from the iPhone project to link with the Mac Application.

Anyone faced this problem ?



On Mac OS X, you should probably be taking advantage of the Cocoa controllers. NSArrayController is probably what you want.







core-data