Friday July 13, 2012

AFIncrementalStore Gets Core Data To Speak to REST Endpoints

If you thought this idea to talk to web services with NSPredicates was cool, then you’ll love Mattt Thompson’s new project, AFIncrementalStore.

He’s subclassed NSIncrementalStore and gives you a REST client to plug into it out of the box. That means you can setup up an NSManagedObjectContext with this store and boom!…Core Data fetches from a web service.

Need other HTTP protocol conventions besides REST? Implement his Objective-C protocol for your own service and you’re set.