Re: Animating NSTabView
Re: Animating NSTabView
- Subject: Re: Animating NSTabView
- From: Matt Neuburg <email@hidden>
- Date: Tue, 25 Dec 2007 10:57:44 -0800
- Thread-topic: Animating NSTabView
On Mon, 24 Dec 2007 12:24:20 -0700, Rod Schmidt <email@hidden>
said:
>Can someone
>point me to a good tutorial on using Core Animation with Cocoa views?
I found this very helpful for "simple" animation:
http://developer.apple.com/samplecode/BasicCocoaAnimations/listing7.html
The example is useful for what it doesn't show as much as what it does.
Notice, for instance, that there are no editable NSTextFields in any
layer-backed views (because they are drawn incorrectly), and that there are
no tab views in the story (because, as you have found, they do not animate
themselves). The example provides an alternative approach, by swapping in
views by hand; that approach *does* animate. m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
One of the 2007 MacTech Top 25: <http://tinyurl.com/2rh4pf>
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>
_______________________________________________
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