Latest 0.0.1
Homepage https://github.com/SiarheiFedartsou/SFPPredicateDSL
License MIT
Platforms ios 8.0
Authors

CI Status
Version
License
Platform

Allows to work with NSPredicate’s in much safer manner with compile-time checks. For example instead of this:

[NSPredicate predicateWithFormat:@"keypath == %@ AND keypath2 IN %@", @10, @[@1, @2, @3]]

you can just write:

[NSPredicate predicate:where(@"keypath").equals(@10).and.where(@"keypath2").in(@[@1, @2, @3])]

For more examples of usage see specs.

Installation

SFPPredicateDSL is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "SFPPredicateDSL"

Author

Siarhei Fiedartsou, [email protected]

License

SFPPredicateDSL is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "SFPPredicateDSL",
    "version": "0.0.1",
    "summary": "Typo-safe DSL for NSPredicate.",
    "description": "Typo-safe DSL for NSPredicate. Makes auto-completion and compile-time checks possible when writing NSPredicate's.",
    "homepage": "https://github.com/SiarheiFedartsou/SFPPredicateDSL",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Siarhei Fiedartsou": "[email protected]"
    },
    "source": {
        "git": "https://github.com/SiarheiFedartsou/SFPPredicateDSL.git",
        "tag": "0.0.1"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "SFPPredicateDSL/Classes/**/*"
}

Pin It on Pinterest

Share This