Re: Custom NSCell
Re: Custom NSCell
- Subject: Re: Custom NSCell
- From: "Sean McBride" <email@hidden>
- Date: Mon, 1 Mar 2010 19:09:11 -0500
- Organization: Rogue Research Inc.
On 3/1/10 8:45 PM, Tilo Villwock said:
>In applicationDidFinishLaunching: I created an instance of my custom
>NSCell class and put it in place for the right column.
Could you elaborate?
I have found that I needed to set the custom cell in IB. You can drag a
custom cell from the library to the tableview's column then set the
class name to your cell subclass. But you can only do that in IB 3.2,
not earlier.
>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?
No, NSTableView copies them.
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
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