• 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: animating windows fade in/out
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: animating windows fade in/out


  • Subject: Re: animating windows fade in/out
  • From: Matt Neuburg <email@hidden>
  • Date: Fri, 08 Dec 2006 06:06:55 -0800
  • Thread-topic: animating windows fade in/out

On or about 12/7/06 11:17 PM, thus spake "Ivan Kourtev" <email@hidden>:

> If you lose the orderOut it may start working.  Based on my modest
> experience, I think with fade outs the animation "sensibly" orders
> out the window at the end and something gets messed up. You may also
> find this helpful: http://mattgemmell.com/2006/11/13/mgviewanimation

Good point - I was using orderOut: to get the window out of the Window menu,
but of course I can do that "manually" with removeWindowsItem:. I'm glad to
see Matt Gemmell moaning about NSAnimation, since (as I mentioned in an
earlier thread) I can crash it just by breathing on it; it's really hard to
believe that something so poorly implemented is going to be made
front-and-center in Leopard. Thx! - m.

> On Dec 8, 2006, at 12:24 AM, Matt Neuburg wrote:
>
>> I'm having an odd problem; maybe someone will spot the solution. I
>> have two
>> windows, call them w1 and w2. W1 is on the screen; I want to fade
>> it out
>> while fading in w2. I'm doing that using NSViewAnimation. It works
>> great.
>>
>>
>> - (void)animationDidEnd:(NSAnimation*)animation {
>>     [indexWindow orderOut:self];
>> }
>>
>

--
matt neuburg, phd = email@hidden, http://www.tidbits.com/matt/
pantes anthropoi tou eidenai oregontai phusei
AppleScript: the Definitive Guide - Second Edition!
http://www.amazon.com/gp/product/0596102119
Take Control of Word 2004, Tiger, and more -
http://www.takecontrolbooks.com/tiger-customizing.html
Subscribe to TidBITS! It's free and smart. http://www.tidbits.com/



_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: 
 >Re: animating windows fade in/out (From: Ivan Kourtev <email@hidden>)

  • Prev by Date: Re: Displaying 2 images in a single cell of nstableview
  • Next by Date: Setting color to an NSView
  • Previous by thread: Re: animating windows fade in/out
  • Next by thread: NSTextView Not Drawing Text
  • Index(es):
    • Date
    • Thread