• 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: Trouble using ANY operator in an NSArrayController search predicate
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trouble using ANY operator in an NSArrayController search predicate


  • Subject: Re: Trouble using ANY operator in an NSArrayController search predicate
  • From: Jim Correia <email@hidden>
  • Date: Fri, 19 May 2006 16:59:53 -0400

On May 19, 2006, at 4:46 PM, Greg Herlihy wrote:

Remove the "ANY" from the search filter predicate. A filtering predicate is
applied to each item individually in order to determine whether the item
should be filtered out.

Greg,

Where in the docs could I have learned this from? The exception said "The left hand side for an ALL or ANY operator must be either an NSArray or an NSSet" and as far as I can tell, it was.

If I drop the ANY from the front, the predicate works as a filter predicate, but it isn't doing a contains match, but rather an equals - i.e. partial course name matches don't work. Any ideas?

Thanks,
Jim
_______________________________________________
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


  • Follow-Ups:
    • Re: Trouble using ANY operator in an NSArrayController search predicate
      • From: Greg Herlihy <email@hidden>
References: 
 >Re: Trouble using ANY operator in an NSArrayController search predicate (From: Greg Herlihy <email@hidden>)

  • Prev by Date: Re: NSAppleScript not in the main thread
  • Next by Date: KVO: programmatically created custom views not getting initial value notifications
  • Previous by thread: Re: Trouble using ANY operator in an NSArrayController search predicate
  • Next by thread: Re: Trouble using ANY operator in an NSArrayController search predicate
  • Index(es):
    • Date
    • Thread