CoreData Model Objects for API
- by theiOSguy
I am using CoreData in my application. I want to abstract out all the CoreData related stuff as an API so that the consume can use the API instead of directly using CoreData and its generated model objects. CoreData generates the managed objects model as following
@interface Person : NSManagedObject
@end
I want to define my API for example MyAPI…