Re: NSViewAnimation fade[In/Out]effect not working
Re: NSViewAnimation fade[In/Out]effect not working
- Subject: Re: NSViewAnimation fade[In/Out]effect not working
- From: Seth Willits <email@hidden>
- Date: Fri, 16 Mar 2012 11:54:41 -0700
On Mar 16, 2012, at 7:54 AM, Shawn Bakhtiar wrote:
> Ok so now I'm thoroughly confused.
You added them as subviews when you started:
[[[wc window] contentView] addSubview:graph1View];
[[[wc window] contentView] addSubview:msds2View];
[[[wc window] contentView] addSubview:msds1View];
[[[wc window] contentView] addSubview:genView];
That's fine, but then in fadeInView:fadeOutView: you simply replaced the entire content view with one of those views:
[[wc window] setContentView:fadeInView];
You don't want to do that.
--
Seth Willits
_______________________________________________
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