Re: highlighted table column in nib
Re: highlighted table column in nib
- Subject: Re: highlighted table column in nib
- From: Nathan Kinsinger <email@hidden>
- Date: Sun, 27 Jul 2008 00:56:48 -0600
On Jul 26, 2008, at 6:59 PM, James W. Walker wrote:
When designing an NSTableView in IB, I can highlight one of the
columns. That information is clearly stored in the file, because if
I close and reopen, the highlight is still there. But after I load
the nib, [myTable highlightedTableColumn] returns nil. Is there
any way to get that nib-highlighted column at run time?
I'm fairly sure that the highlight in IB is just meant to keep track
of what you were editing, not a real part of the nib.
If you want to set the highlight of a particular column then create an
IBOutlet of NSTableColumn and connect it to the column in IB, then in
your -awakeFromNib (or wherever) call setHighlightedTableColumn: with
that outlet. (Note that this highlight is different than the one in IB.)
--Nathan
_______________________________________________
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