I have a core data model object called Entry. In this I have an attribute IsFavorite.
I would like to use an NSPredicate to filter the results of my NSFetchedResultsCont
Interestingly if you "know" which one you want, you can just have:
let p = NSPredicate(format: "showMe == true")
example,
let r = NSFetchRequest(entityName: "CDThing") let p = NSPredicate(format: "showMe == true") r.predicate = p
You would do this for things like "subscribed", "new" etc.