• 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: Core Animation for Dummies?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Animation for Dummies?


  • Subject: Re: Core Animation for Dummies?
  • From: Izak van Langevelde <email@hidden>
  • Date: Sat, 13 Aug 2011 20:51:45 -0400

On 2011-08-13, at 8:40 PM, William Squires wrote:

> Did you set a duration over which to animate? Also, if you return NO, won't the window NOT close after all, thus defeating the purpose of animating it disappearing? I believe you need to return YES after a synchronous operation which will wait for the animation to complete.


Jens Afke sorted this out for me: the window is nil, so the call of setAlphaValue is redirected to the nearest black hole.

The duration is not really relevant here, as the default is good enough for me. Indeed, the window does not close, there is no purpose of animating the fade, as I was frantically trying to get some animation working. This failed for a reason which had nothing to do with animation   ;o6
---
Grinnikend door het leven...

_______________________________________________

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: 
 >Core Animation for Dummies? (From: Izak van Langevelde <email@hidden>)

  • Prev by Date: Re: File Copy With Progress?
  • Next by Date: Difficulty getting full screen window support in Lion fully working
  • Previous by thread: Re: Core Animation for Dummies?
  • Next by thread: Properly wrapping non-contiguous NSTextViews
  • Index(es):
    • Date
    • Thread