• 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: NSViewAnimation fade[In/Out]effect not working
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >NSViewAnimation fade[In/Out]effect not working (From: Shawn Bakhtiar <email@hidden>)
 >Re: NSViewAnimation fade[In/Out]effect not working (From: Seth Willits <email@hidden>)
 >RE: NSViewAnimation fade[In/Out]effect not working (From: Shawn Bakhtiar <email@hidden>)

  • Prev by Date: Re: Transition from [NSEvent phase] to [NSEvent momentumPhase]
  • Next by Date: Re: iTunes like Fast Forward and Rewind Buttons
  • Previous by thread: RE: NSViewAnimation fade[In/Out]effect not working
  • Next by thread: Re: How to support larger NSView hierarchy?
  • Index(es):
    • Date
    • Thread