Top "Nspredicate" questions

The NSPredicate class is used in Mac OS X and iOS development to define logical conditions used to constrain a search either for a fetch or for in-memory filtering.

How to make an NSFetchRequest which asks for objects that have a specific firstname?

For example, I have a Managed Object Model with an Entity called "Friends", and a friend has a firstName. I …

iphone core-data nspredicate nsfetchrequest
SwiftUI View and @FetchRequest predicate with variable that can change

I have a view showing messages in a team that are filtered using @Fetchrequest with a fixed predicate 'Developers'. struct …

swift core-data nspredicate swiftui nsfetchrequest