> On 2016 Jun 26, at 12:29, Jim Thomason <j...@jimandkoka.com> 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 (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to