I have an array of objects. These objects may have some dynamic properties
handled with valueForUndefinedKey.

If I create a predicate along the lines of:

myObject.proertyA = something AND
myObject.proertyB = somethingElse AND
myObject.dynamicPropertyA = someOtherThing


How can I look at myPredicate and determine that it uses dynamicPropertyA?

Is it enough  and safe to use [myPredicate predicateFormat] and then search
the resulting string for dynamicPropertyA?

The reason is that my dynamic properties can be removed and I would need to
go and find all the NSPredicates that are using a property that is about to
go away.


Thanks,

Trygve



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to