• 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: Animated split view collapsing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Animated split view collapsing


  • Subject: Re: Animated split view collapsing
  • From: "Lawrence Sanbourne" <email@hidden>
  • Date: Mon, 24 Apr 2006 09:01:17 -0500

On 4/24/06, John Buckley <email@hidden> wrote:
> On 23/04/06, Lawrence Sanbourne <email@hidden> wrote:
> > Thanks for the help. Here's what I get when the code runs:
> >
> >     NSViewAnimation *animation = [[NSViewAnimation alloc]
> > initWithViewAnimations:[NSArray arrayWithObject:windowResize]];
> >     [animation setAnimationBlockingMode:NSAnimationBlocking];
> >     [animation setDuration:0.5];
> >     [animation startAnimation];
> >     [animation release];
>
> Don't release the animation here; it will be dealocated. Make your
> controller the animation's delegate and then release it in the
> animationDidEnd: and animationDidStop: delegate methods.

I'm using NSAnimationBlocking mode, so releasing the animation here
will not be a problem.

Larry
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Animated split view collapsing (From: "Lawrence Sanbourne" <email@hidden>)
 >Re: Animated split view collapsing (From: "I. Savant" <email@hidden>)
 >Re: Animated split view collapsing (From: "Lawrence Sanbourne" <email@hidden>)
 >Re: Animated split view collapsing (From: "John Buckley" <email@hidden>)

  • Prev by Date: Re: Screenshot code for Tiger
  • Next by Date: Re: Should Cocoa Apps have splash screens at all?
  • Previous by thread: Re: Animated split view collapsing
  • Next by thread: Re: Animated split view collapsing
  • Index(es):
    • Date
    • Thread