• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: pulldown in custom NSCell
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: pulldown in custom NSCell
      • From: Corbin Dunn <email@hidden>
References: 
 >pulldown in custom NSCell (From: Georg Seifert <email@hidden>)

  • Prev by Date: Re: Editable NSTextFieldCell with clickable button?
  • Next by Date: Re: persistentDomainNames
  • Previous by thread: pulldown in custom NSCell
  • Next by thread: Re: pulldown in custom NSCell
  • Index(es):
    • Date
    • Thread