Re: Separator in the case of an NSOutlineView
Re: Separator in the case of an NSOutlineView
- Subject: Re: Separator in the case of an NSOutlineView
- From: Matt Neuburg <email@hidden>
- Date: Thu, 19 Jul 2007 17:33:13 -0700
- Thread-topic: Separator in the case of an NSOutlineView
On Thu, 19 Jul 2007 09:54:55 +0530, "vibhatha v" <email@hidden> said:
>Hi,
>
>I need to add a separator after specified number of rows in the case of an
>NSOutlineView.
>The outline view contains just one column.
>How can I add a separator between the rows of an NSOutlineView?
You'll have to invent one. In the data source, this method is called:
- (id)outlineView:(NSOutlineView *)outlineView
objectValueForTableColumn:(NSTableColumn *)tc byItem:(id)item {
}
It's up to you to supply a value. What you supply is completely up to you.
Whatever it is, the cell will draw it. m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
One of the 2007 MacTech Top 25: <http://tinyurl.com/2rh4pf>
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>
_______________________________________________
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