On Aug 12, 2011, at 3:19 PM, Izak van Langevelde wrote: > - (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)
Is self.window nil? Set a breakpoint and find out. BTW, this isn’t using CoreAnimation, just AppKit’s built-in animation support. —Jens
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ 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