I need a predicate almost like this:
let frOU = NSFetchRequest(entityName: "OU")
frOU.predicate = NSPredicate(format: "IN o.ous.recordName = %@ AND IN o.ous.checkedOut = true", "123")
but it would be important that the two conditions match to the same OU
managed object. How can I write it?
someting like "$(o.ous) IN ($0.recordName = %@ AND $0.checkedOut = true)"
but with right syntacs, is it possible with core data?