• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Creating an NSExpression with a keypath and variable
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Creating an NSExpression with a keypath and variable (From: Kyle Sluder <email@hidden>)
 >Re: Creating an NSExpression with a keypath and variable (From: Dave DeLong <email@hidden>)

  • Prev by Date: Re: Creating an NSExpression with a keypath and variable
  • Next by Date: Re: Creating an NSExpression with a keypath and variable
  • Previous by thread: Re: Creating an NSExpression with a keypath and variable
  • Next by thread: Re: Creating an NSExpression with a keypath and variable
  • Index(es):
    • Date
    • Thread