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

Core Animation for Dummies?


  • Subject: Core Animation for Dummies?
  • From: Izak van Langevelde <email@hidden>
  • Date: Fri, 12 Aug 2011 18:19:37 -0400

I cannot possibly get Core Animation to work, while I did play with it in the past to get some simple things animated.
I reduced my problem to a simple window fade:

- (BOOL)windowShouldClose:(id)window{

    [self.window.animator setAlphaValue:0.0];

    return NO;
}

The relevant view has its Core Animation Layer, as checked in X-Code, the above code is executed when I try to close a window, but I don't see the alpha value changing, with or without animation. What goes wrong here? (X-Code 4.1 on OS X 10.7)
---
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

  • Follow-Ups:
    • Re: Core Animation for Dummies?
      • From: Jens Alfke <email@hidden>
  • Prev by Date: Follow-up on localizing Keychain names
  • Next by Date: Properly wrapping non-contiguous NSTextViews
  • Previous by thread: Re: Follow-up on localizing Keychain names
  • Next by thread: Re: Core Animation for Dummies?
  • Index(es):
    • Date
    • Thread