Thanks to visit codestin.com
Credit goes to github.com

Skip to content

k3zi/Predicate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Predicate

WIP statically-typed NSPredicate for Swift.

From:

NSPredicate(format: "type MATCHES %@ OR type MATCHES %@", argumentArray: ["Fuji", "Gala"])

To:

NSPredicate.with(type: Apple.self)[\.type].matches("Fuji")
    .or[\.type].matches("Gala").predicateResult

About

WIP statically-typed NSPredicate for Swift.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages