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: Sean McBride <email@hidden>
- Date: Tue, 05 Aug 2014 13:38:26 -0400
- Organization: Rogue Research Inc.
On Tue, 5 Aug 2014 10:31:03 -0700, Jens Alfke said:
>I can't figure out how to handle key-paths that contain spaces, in
>NSPredicate format strings. There doesn't seem to be any way to escape
>the space character.
Keys aren't allowed whitespace I don't think.
<https://developer.apple.com/library/mac/documentation/cocoa/conceptual/KeyValueCoding/Articles/BasicPrinciples.html>
"Keys must use ASCII encoding, begin with a lowercase letter, and may not contain whitespace."
Cheers,
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
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