Re: NSPredicate format strings: How to quote a space in a key path?
Re: NSPredicate format strings: How to quote a space in a key path?
- Subject: Re: NSPredicate format strings: How to quote a space in a key path?
- From: Jens Alfke <email@hidden>
- Date: Tue, 05 Aug 2014 18:56:31 -0700
> On Aug 5, 2014, at 3:08 PM, Ken Thomases <email@hidden> wrote:
>
> Have you tried formatting a key with a space in it into a format string with %K and then logging the resulting predicate? It should describe itself using properly formed predicate format string syntax.
I have, and it doesn't. The description just includes the key with no special quoting, i.e. "Total Time < 60000", which doesn't parse (I tried).
—Jens
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden