NSPredicate evaluateWithObject: not recursive!
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