There is very little documentation on NSRuleEditor. :(
First, you need to distinguish between a 'criterion' and a 'display
value' although they may be the same kind of classes. The criterion is
a kind of identifier and the display value is what is actually shown.
It is also helpful to think
I must be missing something in the documentation. I am trying to
populate a Rule Editor with choices from a plist file. The plan is
to create and return an NSMenuItem for each string stored in the
corresponding spot in a plist. Here is what IS working:
• I can get the NSRuleEditor to
On Sep 26, 2009, at 4:09 PM, Jon Hull wrote:
• I can get the NSRuleEditor to display menuItems from a popup
loaded from the XIB (as in the example I found)
• I can load in the plist and confirm that the resulting dictionary/
array structure as well as the return values for the #ofChildren
It is called. I just figured out a workaround... apparently if I pass
it a string NSRuleEditor will create a menuItem for me. Just tested
and it is working now. The documentation is so bad on this area,
maybe I will post some example code when I get it all worked out...
Thanks for your