NLCoreData-ObjectiveRecord 0.0.1

NLCoreData-ObjectiveRecord 0.0.1

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Dec 2014

Maintained by Kevin Renskers.



 
Depends on:
NLCoreData>= 0
ObjectiveSugar>= 0
 

  • By
  • Kevin Renskers

Adding ObjectiveRecord syntax on top of NLCoreData.

What's this?

ObjectiveRecord has a really nice syntax for working with Core Data:

Person *john = [Person create:@{ 
    @"name": @"John",
    @"age": @12, 
    @"member": @NO 
}];

NSArray *people = [Person where:@{ 
    @"age": @18,
    @"member": @YES,
    @"state": @"NY"
}];

Sadly, it doesn't offer any support for background contexts or nested (asynchronous) saving.

NLCoreData on the other hand has a solid feature set for working with Core Data, but is missing this nice way of searching for data, it expects you to write the predicate.

NLCoreData-ObjectiveRecord is a simple category, adding the ObjectiveRecord syntax on top of NLCoreData.

Credits

All the credits go to ObjectiveRecord and NLCoreData.