On Wed, Sep 8, 2010 at 12:32 PM, Alexander Cohen <a...@toomuchspace.com> wrote: > 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?
NSViewAnimation is still supported on 10.6, though it doesn't do everything the -animator proxy does. So you can port your code to use NSViewAnimation, remove the use of -animator, and only maintain one codebase. --Kyle Sluder _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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/archive%40mail-archive.com This email sent to arch...@mail-archive.com