Skip to content
This repository has been archived by the owner on Mar 29, 2022. It is now read-only.

kevinrenskers/NLCoreData-ObjectiveRecord

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NLCoreData-ObjectiveRecord

No Maintenance Intended

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.

About

Adding ObjectiveRecord syntax on top of NLCoreData.

Resources

License

Stars

Watchers

Forks

Packages

No packages published