I need to query all the record types, without any filtering. I tried two ways:
let query = CKQuery(recordType: "Pm", predicate: nil)
let query = CKQuery(recordType: "Pm", predicate: NSPredicate(format: ""))
I got error:
'NSInvalidArgumentException', reason: 'Unable to parse the format string ""'
How to do?