Friday, April 5, 2024

Show HN: PredicateKit – A type-safe replacement for NSPredicate for CoreData https://ift.tt/TSmg8B5

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://ift.tt/OIM7bcm April 5, 2024 at 05:03AM

No comments:

Post a Comment

Show HN: The Cascade Graph – An interactive map of AI and energy constraints https://ift.tt/O47EcUS

Show HN: The Cascade Graph – An interactive map of AI and energy constraints Hello, I wanted to share with you all a interactive map of the ...