sorry putting again on the list,


you could always  ask the animator proxy to do the sutff

the only thing you neeed to set is to tell the NSView to accept layers to YES
then

[[[myview] animator] setAlpha:0.0];

that will fade it .


On May 19, 2011, at 7:04 PM, Mikkel Islay wrote:

> 
>>> Yes, that's what i want to do, but how to find out when the animation ends?
>> 
>> Check out that -animationDidStop:finished: delegate method for CAAnimation.
> 
> Indeed.
> 
>> I haven't really followed developments on OS X closely, so I welcome
>> other list members setting me straight, but AFAIK the block based
>> animation scheme available on iOS 4+ that makes code for what you are
>> trying to do trivial (and easier to read) is unavailable in OS X.
> 
> Wait a couple of months… (I speculate).
> 
> Mikkel_______________________________________________
> 
> 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/gustavxcodepicora%40gmail.com
> 
> This email sent to gustavxcodepic...@gmail.com

_______________________________________________

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

Reply via email to