FROM : Seth Willits
DATE : Sat Feb 16 20:47:50 2008
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
DATE : Sat Feb 16 20:47:50 2008
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
| Related mails | Author | Date |
|---|---|---|
| Gernot | Feb 15, 13:08 | |
| Jens Alfke | Feb 15, 17:10 | |
| Andreas Mayer | Feb 15, 17:42 | |
| Seth Willits | Feb 16, 20:47 |






Cocoa mail archive

