Re: Cocoa-dev Digest, Vol 5, Issue 251
Re: Cocoa-dev Digest, Vol 5, Issue 251
- Subject: Re: Cocoa-dev Digest, Vol 5, Issue 251
- From: Chris Schmitt <email@hidden>
- Date: Sat, 16 Feb 2008 15:36:33 -0500
Check out the NSCollectionView class, I am pretty sure this has
everything you are describing.
On Feb 16, 2008, at 3:01 PM, email@hidden wrote:
From: Seth Willits <email@hidden>
Date: February 16, 2008 2:47:50 PM EST
To: Apple Cocoa-Dev Mailing List <email@hidden>
Subject: Re: Stacking views
On Feb 15, 2008, at 4:08 AM, Gernot wrote:
Doing it all from scratch
Is it really necessary to do it the hard way? Isn't there anything by
Apple or someone else that lets me stack views, bind them to an
ArrayController, update selections, etc, and animate everything
nicely
with CoreAnimation?
I didn't use bindings, but I wrote a "table view" with scrolling,
selection, variable row heights, row alternation etc that uses
views, and also animates new views and removing views (using
NSViewAnimation). The only problem is that animating more than just
a couple views gets reeeally slow unless you cache the image of the
view and make sure it's drawing that if it has to draw at all (I've
yet to use the code, so I didn't get this far). Otherwise, it worked
fine.
--
Seth Willits
_______________________________________________
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