On Aug 5, 2014, at 1:25 PM, Jens Alfke <[email protected]> wrote:

> 
>> On Aug 5, 2014, at 10:38 AM, Sean McBride <[email protected]> wrote:
>> 
>> "Keys must use ASCII encoding, begin with a lowercase letter, and may not 
>> contain whitespace."
> 
> Well, that sucks. The iTunes library is just an example I'm working with, but 
> in general I need to support arbitrary JSON data, so I have no control over 
> what strings are being used for keys.
> 
> At least this only seems to be a limitation of the format string parser. If I 
> use @K, nonstandard keys work fine.

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.

Regards,
Ken


_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to