• 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
parsing NSPredicate
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

parsing NSPredicate


  • Subject: parsing NSPredicate
  • From: Ken Victor <email@hidden>
  • Date: Mon, 20 Feb 2006 08:04:59 -0800

does anyone have either code or sample code that will parse an NSPredicate (that is used as a filter predicate by an NSArrayController) and turn it into a user friendly string that can be used in report headers or footers?

[NSPredicate description] comes pretty close, but isn't quite as friendly as i'd like. eg, it can generate something like:
"5" IN[c] name.description
and i would prefer something like:
Name contains "5"


thanx,
ken
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: List of attributes for CoreData
  • Next by Date: Find color's change in a NSString (attributed)
  • Previous by thread: Re: List of attributes for CoreData
  • Next by thread: Find color's change in a NSString (attributed)
  • Index(es):
    • Date
    • Thread