Latest 0.0.1
Homepage https://github.com/kevinrenskers/NLCoreData-ObjectiveRecord
License MIT
Platforms ios 6.0, requires ARC
Dependencies NLCoreData, ObjectiveSugar
Authors

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.

Latest podspec

{
    "name": "NLCoreData-ObjectiveRecord",
    "version": "0.0.1",
    "summary": "Adds ObjectiveRecord like synxtax to NLCoreData",
    "homepage": "https://github.com/kevinrenskers/NLCoreData-ObjectiveRecord",
    "license": "MIT",
    "authors": {
        "Kevin Renskers": "[email protected]"
    },
    "source": {
        "git": "https://github.com/kevinrenskers/NLCoreData-ObjectiveRecord.git",
        "tag": "0.0.1"
    },
    "platforms": {
        "ios": "6.0"
    },
    "source_files": "Classes/*.{h,m}",
    "requires_arc": true,
    "dependencies": {
        "NLCoreData": [],
        "ObjectiveSugar": []
    }
}

Pin It on Pinterest

Share This