|[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]|
On Wed, 30 Sep 2009 10:24:47 +1000, Rob Keniger <email@hidden> said: > >On 30/09/2009, at 4:16 AM, Chilton Webb wrote: > >> So now I'm experimenting with using an overlay window with layer >> backed views, loading the images into the views, showing the window, >> and drawing the animation by then translating the two views at the >> same time. Is this the fastest way to do this? > > >You could do it this way, although normally for something like this >I'd use Core Image. Make two CIImages and use an animated transition >CIFilter. Right, that indeed is precisely the solution I ended up using for JACTVocab 2.0. My implementation is very similar to what the OP described: I'm covering my window with a "glass" child window where I can use layers, and calling setContent on a layer with an animated transition. (The app gives the user a choice of transitions, and one of them is a push transition.) I discussed my thinking in an earlier thread here as I was developing the animation. At the time, Uli Kusterer suggested it might have been better to swap views and animate *that*. And I might still rewrite it that way. m. -- matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/> A fool + a tool + an autorelease pool = cool! AppleScript: the Definitive Guide - Second Edition! http://www.tidbits.com/matt/default.html#applescriptthings _______________________________________________ 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
Visit the Apple Store online or at retail locations.
Copyright © 2011 Apple Inc. All rights reserved.