Thursday 4 April 2024

Show HN: PredicateKit – A type-safe replacement for NSPredicate for CoreData https://bit.ly/3U57XpU

Show HN: PredicateKit – A type-safe replacement for NSPredicate for CoreData Hi, I really like CoreData. I think it's a great piece of software (I know this is a controversial opinion in some circles ;)). My only pet peeve with it has been the string-based querying API based on NSPredicate. It is a major source of bugs/crashes and doesn't really fit nicely in the modern strongly-typed world of Swift. I built PredicateKit as a lightweight replacement for NSPredicateKit (specifically for CoreData) that makes writing predicates as safe and pleasant as writing native Swift code. https://bit.ly/3U6of1C April 5, 2024 at 12:33AM

No comments:

Post a Comment