Re: How do I get data out of NSRuleEditor?
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