The error happens when I try to create following NSPredicate:
let predicate = NSPredicate(format: "size = nil")
The error is as follows:
Unsupported expression type (11, SIZE)
This is because size is reserved word in Core Data. This can be fixed like this:
let predicate = NSPredicate(format: "#size = nil")
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With