PredicateKit icon indicating copy to clipboard operation
PredicateKit copied to clipboard

🎯 PredicateKit allows Swift developers to write expressive and type-safe predicates for CoreData using key-paths, comparisons and logical operators, literal values, and functions.

Results 8 PredicateKit issues
Sort by recently updated
recently updated
newest added

I have an old database where the managed object class names are different from the entity name. I didn't see a way to handle this.

So let's assume that we have these Entities ```swift class Person { let id: String let name: String let pets: [Cat] init(id: String, name: String, pets: [Cat]) { self.id =...

iOS 15 changed how an `NSFetchRequest` is stored in a SwiftUI `View` graph. This PR updates `SwiftUISupportTests` to accommodate that change. Will be merged once Xcode 13.3 is available on...

Continuing from https://github.com/ftchirou/PredicateKit/issues/24 Added functionality for SwiftUI `SectionedFetchRequest` (very similar to `FetchRequest` property wrapper, but with sections). Also added `updatePredicate(_:)` functions to `FetchedResults` and `SectionedFetchResults` so that the wrapped property...

As of iOS 15 & MacOS 12, there are some new tools we can work with in SwiftUI: [SectionedFetchRequest](https://developer.apple.com/documentation/SwiftUI/SectionedFetchRequest) and [SectionedFetchResults](https://developer.apple.com/documentation/swiftui/sectionedfetchresults) which are like FetchRequest and FetchedResults just with added...

The lib crashes randomly on Line 335: return try context.fetch(request) in public func result() throws -> [Entity] It seemed like it started after upgrading to xCode 15. PS. I'm using...