> On Jan 17, 2017, at 7:18 PM, Chris Hanson <c...@me.com> wrote: > > Then if your users want to use a predicate string (rather than an > NSPredicateEditor or other form of direct instantiation) they still trivially > can, but it's on them to get the syntax correct rather than on you to try to > figure out their intent.
Because then if they don’t get the syntax correct, they’ll ask for help in our support forums, and it’s on us to answer the same question over and over again. Or they’ll just decide our library doesn’t work and give up on it. (I do see this as a design defect in the NSPredicate parser. The fact that the identifiers ‘first’ and ‘last’ have special meaning as array subscripts should not prevent them from being used as ordinary property names in key-paths.) —Jens _______________________________________________ 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