CoreAnimation weird problems with NSView animator
CoreAnimation weird problems with NSView animator
- Subject: CoreAnimation weird problems with NSView animator
- From: Milen Dzhumerov <email@hidden>
- Date: Wed, 26 Mar 2008 16:12:15 +0000
Hi all,
I've been playing with CA today and encountered some weird problems.
Firstly, I tested setHidden: on an animator on a NSSegmentedView and
it worked fine - it gets faded in/out. Now, all the problems I
encountered happen in another NIB file. I've got the following piece
of code (in a controller):
[self.generalView setHidden:YES];
[self.window setContentView:self.generalView];
[[self.generalView animator] setHidden:NO];
I expect this to animate the view but it doesn't happen - no animation
goes on. I've made sure that all NSView's want layers. I also noticed
some other unusual problems
with the said NIB:
- Animations work on a random basis (CA animations)
- If I attach an outlet to a particular NSPopUpButton, it disappears.
Removing the outlet makes it appear again
I think I'm missing some setup here but I cannot figure out exactly
what it is. The NIB (saved as a XIB) was created from scratch (i.e.,
not included in a project template) but I can't see how this can be a
problem. Any help is greatly appreciated.
M
_______________________________________________
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