Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Stacking views (From: Gernot <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.