• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: The simplest way to fade out a view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: The simplest way to fade out a view


  • Subject: Re: The simplest way to fade out a view
  • From: Gustavo Pizano <email@hidden>
  • Date: Thu, 19 May 2011 19:26:13 +0200

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 (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

_______________________________________________

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

References: 
 >The simplest way to fade out a view (From: Nick <email@hidden>)
 >Re: The simplest way to fade out a view (From: Nick <email@hidden>)
 >Re: The simplest way to fade out a view (From: Conrad Shultz <email@hidden>)
 >Re: The simplest way to fade out a view (From: Mikkel Islay <email@hidden>)

  • Prev by Date: Re: The simplest way to fade out a view
  • Next by Date: Re: The simplest way to fade out a view
  • Previous by thread: Re: The simplest way to fade out a view
  • Next by thread: Re: The simplest way to fade out a view
  • Index(es):
    • Date
    • Thread