I have an attribute of type NSData
and I want to search a string in this attribute how can I perform this search using NSPredicate
?
I try to use NSPredicate
with block but predicate with block not supported for Core Data SQlite based store.
Why do you have an NSData
attribute? Transform it to NSString
when you store it and change your data model accordingly.
It is senseless to store a string in a data object.