Re: Predicate variable substitution
Re: Predicate variable substitution
- Subject: Re: Predicate variable substitution
- From: mmalcolm crawford <email@hidden>
- Date: Sat, 29 Oct 2005 13:01:40 -0700
On Oct 29, 2005, at 12:51 PM, Mark Slater wrote:
Thank you... that made it work for the NSPredicate substitution.
Unfortunately, XCode doesn't seem to allow non-String Literals in
the fetch requests. I've selected "name" from the attribute list,
"LIKE" from the operation list, and entered "$THE_NAME" (without
quotes) in the text field, and XCode comes up with a predicate that
has quotes around the text. Is this simply a known limitation for
XCode's predicate editing?
Have you set the text field "state" to 'Variable', as shown in
<http://developer.apple.com/documentation/Cocoa/Conceptual/Predicates/
Articles/pCreating.html#//apple_ref/doc/uid/TP40001793-219639-
BCIIHDCH> and described in <http://developer.apple.com/documentation/
DeveloperTools/Conceptual/XcodeUserGuide21/Contents/Resources/
en.lproj/02_04_design_data_model/chapter_15_section_4.html>?
mmalc
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden