Core Data Predicate with UUID attribute

I have been trying to fetch results from Core Data using a predicate to filter based on the value in an attribute of type UUID. No elements are being returned.

hi,

why not simply write the predicate as

NSPredicate(format: "clientId == %@", clientId! as CVarArg) // i would think the force unwrap would help here ?

i have used this; it works.

hope that helps,

DMG

Core Data Predicate with UUID attribute
 
 
Q