• 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
Animation Did Stop - Works For OS3 but not OS2.2
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Animation Did Stop - Works For OS3 but not OS2.2


  • Subject: Animation Did Stop - Works For OS3 but not OS2.2
  • From: Chunk 1978 <email@hidden>
  • Date: Fri, 3 Jul 2009 00:25:14 -0400

this works fine in OS 3, but it doesn't call fade out in OS2.2?  what
is the problem?

- (void)animationHasFinished:(NSString *)animationID finished:(BOOL)finished
	{
	if ((animationID == @"FadeIn") && finished)
		{
		[self fadeOut];
		}
	}

- (void)fadeIn
	{
	[UIView beginAnimations:@"FadeIn" context:NULL];
	[UIView setAnimationDelegate:self];
	[UIView setAnimationDidStopSelector:@selector(animationHasFinished:finished:)];
	[UIView setAnimationCurve:UIViewAnimationCurveEaseIn];
	[UIView setAnimationDuration:0.05];
	[self.flashView setAlpha:1.0];
	[UIView commitAnimations];
	}

- (void)fadeOut
	{
	[UIView beginAnimations:@"FadeOut" context:NULL];
	[UIView setAnimationCurve:UIViewAnimationCurveEaseOut];
	[UIView setAnimationDuration:0.45];
	[self.flashView setAlpha:0.0];
	[UIView commitAnimations];
	}
_______________________________________________

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: Animation Did Stop - Works For OS3 but not OS2.2
      • From: Dave DeLong <email@hidden>
  • Prev by Date: How do I get the version of AppKit.framework available in Cocoa Application Framework 10.5? Probably a dumb question I know..
  • Next by Date: Core Data, migrate a model split into two files
  • Previous by thread: Re: How do I get the version of AppKit.framework available in Cocoa Application Framework 10.5? Probably a dumb question I know..
  • Next by thread: Re: Animation Did Stop - Works For OS3 but not OS2.2
  • Index(es):
    • Date
    • Thread