Is there a way to perform an NSPredicate
request against multiple entities at once?
I have a dozen entities, each with an hasChanged
field, I need to check if any of these entities has changed, apart from doing each one separately (like i'm doing below) is there a better method / approach?
let entityName = "Work"
var request = NSFetchRequest(entityName: entityName)
request.predicate = NSPredicate(format: "hasChanged ==", true)