• 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: How do I get data out of NSRuleEditor?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How do I get data out of NSRuleEditor?


  • Subject: Re: How do I get data out of NSRuleEditor?
  • From: Jerry Krinock <email@hidden>
  • Date: Sun, 26 Jun 2016 19:26:04 -0700

> On 2016 Jun 26, at 12:29, Jim Thomason <email@hidden> wrote:
>
> I've been desperately trying to use NSRuleEditor for a while now, since it
> presents exactly the type of interface I want to show to the users.

NSRuleEditor and NSPredicateEditor give you a quite a boatload, but as you’ve discovered they are difficult to customize.

> That just seems...yucky to me. Since I'd need to reverse the displayValue
> into the real value in some manner

Indeed, that is yucky, but, in my experience, not surprising.  I found myself using this same workaround, on some opaque popop menu items, when I customized NSPredicateEditor to support regular expression matching.

To make this slightly less yucky, define a property or constant for that localized string.


_______________________________________________

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: 
 >How do I get data out of NSRuleEditor? (From: Jim Thomason <email@hidden>)

  • Prev by Date: Re: Security with Streams
  • Next by Date: Re: Security with Streams
  • Previous by thread: How do I get data out of NSRuleEditor?
  • Next by thread: WWDC 2016 direct download
  • Index(es):
    • Date
    • Thread