• 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
Proper control for a list of actions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Proper control for a list of actions


  • Subject: Proper control for a list of actions
  • From: Dave DeLong <email@hidden>
  • Date: Mon, 08 Mar 2010 12:12:05 -0700

Hi everyone,

I'm recreating a rules interface (ie, under these conditions, perform those actions).  I have an NSPredicateEditor in place for the conditions portion, and it's working great.  However, I'm wondering what would be most appropriate to use for the actions area.

My initial reaction would be "NSRuleEditor", except I'm not sure how I'd integrate it.  The documentation for NSRuleEditor is full of stuff about criteria and whatnot, and I'm not really sure how that applies.  If I could get it to work, I think NSRuleEditor would be the best option because of the visual consistency between it and the predicate editor.

My next reaction would be to use an NSPredicateEditor, but disallow compound predicates (except for the initial "AND").   I'm familiar with NSPredicateEditor, so this (I think) would be the "easiest" option.  It also (obviously) has the advantage of visual consistency with the other predicate editor.

I then thought I could build one using an NSTableView, but that seems overly complex and overkill, and it wouldn't necessarily be visually consistent with the predicate editor (without some serious graphics work).

So:  Is NSRuleEditor the thing to use?  If so, how?

Thanks,

Dave

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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: Proper control for a list of actions
      • From: Dave DeLong <email@hidden>
  • Prev by Date: Re: Custom View in Toolbar
  • Next by Date: Re: Custom View in Toolbar
  • Previous by thread: Re: CA transition suddenly too fast
  • Next by thread: Re: Proper control for a list of actions
  • Index(es):
    • Date
    • Thread