• 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
Is NSRuleEditor worth the learning curve?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Is NSRuleEditor worth the learning curve?


  • Subject: Is NSRuleEditor worth the learning curve?
  • From: Erik Stainsby <email@hidden>
  • Date: Sat, 28 Jan 2012 16:23:13 -0800

Hello list folks,

I'm struggling with the abstraction and sketchy documentation that surround NSRuleEditor. I feel a need to know that the effort is worthwhile, versus cobbling together something in a table or outline view instead.

The domain I am working in really fits well within the structured rule editor model. I have many lists of finite scope which have an inherent hierarchy and each choice made implies filters for the remaining options.

But I am really confused by the highly flexible model of the rule editor. The toughest part right now is that I am unable to see how the NSRuleEditor instance populates a given row, based on having received either a stringValue, a menuItem or a control/view.  Where in all of this have I the opportunity to establish the layout and orientation of the various widgets for a given row?

One example I have found (NibBasedSpotlightSearcher.xcodeproj - circa 2006) presents a window in the nib which holds clusters of related controls in a single view. I'm doing the gasping guppy trying to see where in the code those individual controls are addressed, loaded and applied.

Has anyone got a nakedly simple example of a minimalist use of the NSRuleEditor they could point me to?

Cheers,
Erik
_______________________________________________

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


  • Follow-Ups:
    • Re: Is NSRuleEditor worth the learning curve?
      • From: Peter Ammon <email@hidden>
    • Re: Is NSRuleEditor worth the learning curve?
      • From: Fritz Anderson <email@hidden>
  • Prev by Date: Re: afterDelay not working?
  • Next by Date: Re: Key Value Observing of NSMutableArray inside an object
  • Previous by thread: Re: Key Value Observing of NSMutableArray inside an object
  • Next by thread: Re: Is NSRuleEditor worth the learning curve?
  • Index(es):
    • Date
    • Thread