• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSPredicate format strings: How to quote a space in a key path?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >NSPredicate format strings: How to quote a space in a key path? (From: Jens Alfke <email@hidden>)
 >Re: NSPredicate format strings: How to quote a space in a key path? (From: Sean McBride <email@hidden>)
 >Re: NSPredicate format strings: How to quote a space in a key path? (From: Jens Alfke <email@hidden>)
 >Re: NSPredicate format strings: How to quote a space in a key path? (From: Ken Thomases <email@hidden>)

  • Prev by Date: Re: How well can genstrings process indirect names?
  • Next by Date: How do I hide/show a status bar?
  • Previous by thread: Re: NSPredicate format strings: How to quote a space in a key path?
  • Next by thread: How well can genstrings process indirect names?
  • Index(es):
    • Date
    • Thread