• 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
Re: Is NSTableView/NSOutlineView the way to go?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is NSTableView/NSOutlineView the way to go?


  • Subject: Re: Is NSTableView/NSOutlineView the way to go?
  • From: Corbin Dunn <email@hidden>
  • Date: Wed, 15 Jun 2005 15:41:14 -0700

What I'd like to have is a scrollable list of layers, with a radio button at the far left indicating which layer is "active". I'd like the user to be able to double-click on a layer name to be able to rename it. I'd like the user to be able to select a row and be able to delete it, or drag that row around to change its order. I'd also like the user to be able to edit a few "non-active properties", such as whether that layer is visible or if it is, how to display it (such as level of dimness) when it isn't the active layer.

From reading up on NSTableView, I see that it handles the drag moving, editing of text; what I wasn't sure was if I could use a radio group or a custom view (having the radio button, text view, and visibility attributes)…

It sounds perfect for what you want to do. Note that adding NSView's to a TableView has issues (I believe there is source floating around from Chuck on how to do this, if you do need to do it). Ideally, you should just use cell's inside the tableview.


-corbin _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Is NSTableView/NSOutlineView the way to go?
      • From: Andy Lee <email@hidden>
References: 
 >Is NSTableView/NSOutlineView the way to go? (From: Mark Dawson <email@hidden>)

  • Prev by Date: Re: User-defined global hotkeys
  • Next by Date: Re: Modal Dialog and Drag & Drop in a NSTableView
  • Previous by thread: Is NSTableView/NSOutlineView the way to go?
  • Next by thread: Re: Is NSTableView/NSOutlineView the way to go?
  • Index(es):
    • Date
    • Thread