Re: Creating an NSExpression with a keypath and variable
Re: Creating an NSExpression with a keypath and variable
- Subject: Re: Creating an NSExpression with a keypath and variable
- From: Dave DeLong <email@hidden>
- Date: Wed, 16 Mar 2011 11:30:51 -0700
On Mar 16, 2011, at 11:28 AM, Dave DeLong wrote:
> - If you want to use a keypath with a variable, you could do:
>
> FUNCTION($x, 'text') CONTAINS[cd] $searchString
Or put another way:
FUNCTION($x, 'valueForKeyPath:', 'foo.bar.baz')
Dave
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden