I have a record type called User, and that user may or may not have an address.
I'm trying to set a predicate, so I get all Records with no address..
I've tried the following with no luck:
let predicate = NSPredicate(format: "address != %@", "")
let predicate = NSPredicate(format: "address.length > 0")
None of these work.. I'm sure there has to be a way? In my cloudkit dashboard, address is a String, with no value for some.