I would like to create a CKQueryOperation that finds records where an array contains any items from another array. It does not need to contain all of the elements from the second array, just at least one.
I have this line which works for an array containing a string but I can not seem to find what I am looking for.
let pred = NSPredicate(format: "keywords CONTAINS 'myWord'")
let sort = NSSortDescriptor(key: "orderNumber", ascending: true)
let query = CKQuery(recordType: "Records", predicate: pred)
Thank you