• 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: NSTableView: removing the column headers programmatically
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >NSTableView: removing the column headers programmatically (From: Laurent Bertacchini <email@hidden>)
 >Re: NSTableView: removing the column headers programmatically (From: Andreas Mayer <email@hidden>)
 >Re: NSTableView: removing the column headers programmatically (From: Laurent Bertacchini <email@hidden>)

  • Prev by Date: Re: glitch in my size code?
  • Next by Date: Printing the header of an NSOutlineView
  • Previous by thread: Re: NSTableView: removing the column headers programmatically
  • Next by thread: NSMatrix - No new NSCells need apply
  • Index(es):
    • Date
    • Thread