• 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: Custom control and cells
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Custom control and cells


  • Subject: Re: Custom control and cells
  • From: Georg Seifert <email@hidden>
  • Date: Sat, 10 Jul 2010 00:22:29 +0200

Hi,
The thing is, I want to replicate the NSCollectionView but using cells instead of views. The NSCollectionView has a lot of problems like performance  and I couldn’t find a way to get the rect of the view of an item (both fixed in Snow Leopard but I have to support Leopard).

It would be interesting anyway if I could implement my own controls.

Best
Georg
>
> On Jul 7, 2010, at 4:14 AM, Georg Seifert wrote:
>
>> Hi,
>>
>> I try to find an example on how to implement the mouse tracking and editing behavior of a NSCell from my own control (subclass of NSControl). I need a control that can handle several kinds of cells like ImageAndTextCell (with editing) or popup button cells.
>>
>> I read a lot about it but can’t fit it together.
>
> It is probably easiest to just use controls that contain the cells, and not try to make your control directly use multiple cells. With today's hardware, the performance gains are not worth the extra coding effort.
>
> 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: Custom control and cells
      • From: Michael Ash <email@hidden>
    • Re: Custom control and cells
      • From: Michael Watson <email@hidden>
References: 
 >Custom control and cells (From: Georg Seifert <email@hidden>)
 >Re: Custom control and cells (From: Corbin Dunn <email@hidden>)

  • Prev by Date: Re: Setting focus on NSSearchField...
  • Next by Date: Re: Custom control and cells
  • Previous by thread: Re: Custom control and cells
  • Next by thread: Re: Custom control and cells
  • Index(es):
    • Date
    • Thread