I am trying to create a predicate using the Predicate Builder but that
doesn't quite work the way I expect it to.
It appears that the 'contains' clause in a predicate is converted into
'LIKE[c]' when the predicate is saved.
Entered: firstName contains $MATCH_STRING OR lastName contains
Generated: firstName LIKE[c] $MATCH_STRING OR lastName LIKE[c]
Now, I am not an expert on this subject by any stretch of imagination,
so I could easily miss something here, but 'contains' and 'LIKE[c]'
look different to me, and the Core Data fetch results seem to support
my suspicion that something is wrong here.
If I have a person, say "Erwin" (just to pick a name...), the fetch
results are empty until $MATCH_STRING is @"erwin", whereas I would
expect it to give me something back as well when I just enter @"E",
Any thoughts on this?
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden