• 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: NSTableColumn setHidden: and IB
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableColumn setHidden: and IB


  • Subject: Re: NSTableColumn setHidden: and IB
  • From: David Scheidt <email@hidden>
  • Date: Sun, 26 Apr 2009 01:04:59 -0400


On Apr 26, 2009, at 12:54 AM, Steven Riggs wrote:

Make a class with IBOutlets to each tableColumn and in code, tell the tableColumns if they should be hidden. I'm not aware of an IB only solution for this one.


That's a better solution than the one that had occurred to me, which was to subclass NSTableColumn to add an action.


Is there a deep reason that there's not an IB action for this?

Steven Riggs

On Apr 26, 2009, at 12:42 AM, David Scheidt <email@hidden> wrote:

I've got a 10.5 app, which has a bunch of NSTableViews. I'd like to allow the user to choose which columns appear in the tableviews, using a popup contextual menu. so, that should be a simple matter of defining the NSTableColumns, establishing their bindings, making a menu of the table view's header, and hooking that up to the setHidden: method of the NSTableColumns; however, there doesn't appear to be a way to do that in IB. Am I missing something? (I hope I am.) How do I do this? _______________________________________________

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:
@me.com


This email sent to email@hidden


_______________________________________________

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


References: 
 >NSTableColumn setHidden: and IB (From: David Scheidt <email@hidden>)
 >Re: NSTableColumn setHidden: and IB (From: Steven Riggs <email@hidden>)

  • Prev by Date: Re: NSTableColumn setHidden: and IB
  • Next by Date: Re: Editable PopUpButtons
  • Previous by thread: Re: NSTableColumn setHidden: and IB
  • Next by thread: Coca equivalent to NMInstall?
  • Index(es):
    • Date
    • Thread