• 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: [[NSView animator] setHidden:YES] doesn't fade?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [[NSView animator] setHidden:YES] doesn't fade?


  • Subject: Re: [[NSView animator] setHidden:YES] doesn't fade?
  • From: Brian Christensen <email@hidden>
  • Date: Tue, 22 Jan 2008 20:38:10 -0500

On Jan 22, 2008, at 20:16, Brian Christensen wrote:

On Jan 22, 2008, at 20:06, Philip Dow wrote:

Hi all,

I'm looking to fade a view on Leopard. I'm using the animator to successfully move the view by changing its frame, but calling setHidden on it does not seem to fade it -- behavior I would expect.

You should be able to achieve the effect you're looking for by using setAlphaValue: instead:


[[myView animator] setAlphaValue:0.0]; // fade out
[[myView animator] setAlphaValue:1.0]; // fade in

Since I would also expect for this to work the way you tried it though, I've filed this as rdar://5701296.


/brian

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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: [[NSView animator] setHidden:YES] doesn't fade?
      • From: "I. Savant" <email@hidden>
References: 
 >[[NSView animator] setHidden:YES] doesn't fade? (From: Philip Dow <email@hidden>)
 >Re: [[NSView animator] setHidden:YES] doesn't fade? (From: Brian Christensen <email@hidden>)

  • Prev by Date: Re: [[NSView animator] setHidden:YES] doesn't fade?
  • Next by Date: Re: HUD Windows
  • Previous by thread: Re: [[NSView animator] setHidden:YES] doesn't fade?
  • Next by thread: Re: [[NSView animator] setHidden:YES] doesn't fade?
  • Index(es):
    • Date
    • Thread