NSView alphaValue animation on 10.5
NSView alphaValue animation on 10.5
- Subject: NSView alphaValue animation on 10.5
- From: Alexander Cohen <email@hidden>
- Date: Wed, 8 Sep 2010 15:32:31 -0400
Hi,
I've got a lot of code that depends on 10.6's use of NSView's animator and setAlphaValue for showing and hiding animations. Now, i need to bring this to 10.5. On 10.5, to animate the alphaValue, i learnt that the NSView needs to be backed by a layer. I tried doing that and it created mayhem, so i don't think i can go that route. I could use NSViewAnimation but that would create 2 sets of code and i'd rather just stick with [[view animator] setAlphaValue:val]. Does anyone have any idea how to get something working without having to if/else all these calls?
thx
AC_______________________________________________
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