• 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
A variable-height "Small List" view with [+] and [-] buttons
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

A variable-height "Small List" view with [+] and [-] buttons


  • Subject: A variable-height "Small List" view with [+] and [-] buttons
  • From: Jerry Krinock <email@hidden>
  • Date: Fri, 11 Jun 2010 15:28:11 -0700

I'd like to implement a list view for a small number of items, which the user can add to or remove from by clicking [+] and [-] buttons in the margin.  The height of the view will vary with the number of items.  In this particular case, each item would be a popup menu.

It would be similar to the view used to add email addresses for a person in Apple's Address Book, and similar to NSRuleEditor, but simpler.

Before coding this from scratch, I'd like to know if there is any code already done, or any advice on how to proceed.  I'm thinking that the list would be a collection of custom "Row" class instances.  Each "Row" would have the two [+] and [-] buttons, and the popup menu.

Thanks,

Jerry Krinock

Couldn't find anything in a search, possibly due to lack of definitive keywords.

_______________________________________________

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

  • Prev by Date: applicationShouldTerminate gets called on with no edited documents
  • Next by Date: Re: How to specify the superview in the Interface Builder?
  • Previous by thread: Re: applicationShouldTerminate gets called on with no edited documents
  • Next by thread: Help system question...
  • Index(es):
    • Date
    • Thread