• 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
NSPredicate evaluateWithObject: not recursive!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSPredicate evaluateWithObject: not recursive!


  • Subject: NSPredicate evaluateWithObject: not recursive!
  • From: Ken Victor <email@hidden>
  • Date: Fri, 8 Sep 2006 09:37:29 -0700

i've got a subclass of NSComparisonPredicate in which i've overridden evaluateWithObject (in order to be able to support regex searches for to-many relationships). it works fine when it is used by itself.

however, if it is one of the sub-predicates of a compound predicate, and i call evaluateWithObject for the compound predicate, my subclass is not used to evaluate the sub-predicate. ie, evaluateWithObject does not use simple recursion to evaluate the sub-predicates of a compound predicate. i've worked around this in my app, but i'm wondering if others would consider this a bug, and/or if i should report this via apple's bug reporter.

thanx,
ken
_______________________________________________
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


  • Prev by Date: Tracking rectangles and bezier paths
  • Next by Date: Re: [CodeData] Generic model migration code?
  • Previous by thread: Re: Re: Re: Re: Tracking rectangles and bezier paths
  • Next by thread: cursor rects
  • Index(es):
    • Date
    • Thread