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 (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com