Re: Custom NSCell
Re: Custom NSCell
- Subject: Re: Custom NSCell
- From: Nick Zitzmann <email@hidden>
- Date: Mon, 1 Mar 2010 12:59:48 -0700
On Mar 1, 2010, at 12:45 PM, Tilo Villwock wrote:
> I've created a custom NSCell Object to layout some different text attributes of a custom data object in a NSTableView, but for some reason all the attributes of the different data objects are only displayed in the first row and nothing at all in the other rows. Every row receives a separate data object via the NSTableViewDataSource methods.
> In applicationDidFinishLaunching: I created an instance of my custom NSCell class and put it in place for the right column.
> Any thoughts what might cause this behaviour? I don't assume it is necessary to create a new instance of my NSCell class for every row I have, right?
Does your cell subclass support NSCopying?
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
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