Re: [NSTableView/NSOutlineView] How can we draw a custom border?
Re: [NSTableView/NSOutlineView] How can we draw a custom border?
- Subject: Re: [NSTableView/NSOutlineView] How can we draw a custom border?
- From: "Kyle Sluder" <email@hidden>
- Date: Sat, 8 Mar 2008 13:58:47 -0500
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.
--Kyle Sluder
_______________________________________________
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