Re: NSTableView: removing the column headers programmatically
Re: NSTableView: removing the column headers programmatically
- Subject: Re: NSTableView: removing the column headers programmatically
- From: Scott Anguish <email@hidden>
- Date: Tue, 11 May 2004 01:31:25 -0400
On May 10, 2004, at 5:51 AM, Laurent Bertacchini wrote:
Setting the header view to nil?
- (void)setHeaderView:(NSTableHeaderView *)aHeaderView
Interesting. I had seen this method while reading the documentation
(which I did several times, mind you), but I didn't think of sending a
nil pointer. I guess I'm still not familiar enough with Objective-C.
And in the NSTableColumn reference, it says that it's forbidden to send
a nil pointer to the method - (void)setHeaderCell:(NSCell *)aCell , so
I was a bit confused.
Anyways thanks a lot, it worked. I love when it's that simple :)
It's confusing. I've filed a bug to get that specifically noted in the
NSTableView documentation.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.