• 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/NSOutlineView] How can we draw a custom border?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [NSTableView/NSOutlineView] How can we draw a custom border?


  • Subject: Re: [NSTableView/NSOutlineView] How can we draw a custom border?
  • From: Stephane Sudre <email@hidden>
  • Date: Sat, 8 Mar 2008 21:08:16 +0100


On Mar 8, 2008, at 7:58 PM, Kyle Sluder wrote:

On Sat, Mar 8, 2008 at 1:21 PM, Stephane Sudre <email@hidden> wrote:
 Maybe it's possible in IB 3 to set the class for the
 NSTableHeaderView of a NSOutlineView but this would ruin my nib file
 since I'm developing on Tiger.

Dunno where/if this is documented, but the header view is obtained by sending a message to the NSScrollView's document view (I think it's -headerView). You could override this method in an NSOutlineView class to return an instance of your custom view.

Brilliant.

I was too focused on trying to find a workaround for the lack of copyWithZone: to realize NSTableHeaderView didn't really have any cell and is getting its data from the columns.


_______________________________________________

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: 
 >[NSTableView/NSOutlineView] How can we draw a custom border? (From: Stephane Sudre <email@hidden>)
 >Re: [NSTableView/NSOutlineView] How can we draw a custom border? (From: "Kyle Sluder" <email@hidden>)

  • Prev by Date: Re: dynamic Application menu text
  • Next by Date: Re: GNUStep, OpenStep, NextStep, Cocoa port?
  • Previous by thread: Re: [NSTableView/NSOutlineView] How can we draw a custom border?
  • Next by thread: Re: Binding NSTabViews in NSCollectionViews?
  • Index(es):
    • Date
    • Thread