Re: pulldown in custom NSCell
Re: pulldown in custom NSCell
- Subject: Re: pulldown in custom NSCell
- From: Corbin Dunn <email@hidden>
- Date: Fri, 21 Aug 2009 07:16:49 -0700
On Aug 21, 2009, at 3:48 AM, Georg Seifert wrote:
Hi,
I want to build a custom cell similar to the one in "Transfer" list
in Cyberduck. I need several pulldowns and input fields. I did
looked at the code of Cyberduck but as it is written in Java I did
not understand it completely. What I found is that the Cell, in its
drawwithFrame method, adds subview to the TableView and this subview
handles all the drawing and handling. Is this appropriate or is
there a better solution.
More often than not, people don't manage the views correctly. It can
be an acceptable solution, and I gave a talk about it at WWDC this
year (the sample code will be available once SnowLeopard is out,
sorry, I can't give it out earlier).
Usually, you can implement the appropriate thing with sub-cells, or
manually.
One such example I wrote for WWDC a few years ago: http://developer.apple.com/samplecode/PhotoSearch/
corbin
_______________________________________________
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