• 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
Animating the view layer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Animating the view layer


  • Subject: Animating the view layer
  • From: Sivakumar Kandappan Singaravadivelu <email@hidden>
  • Date: Thu, 9 Sep 2010 03:07:22 -0400

Hi Everybody
I need to bring the ripple effect  animation in iphone that is present
in widget application  when you drop a new widget. I tried posting in
various forums including apple forum I cant find the answer for it. I
hope you guyz can help. The following is the code which I used for the
animation.


                  UIButton *Button1=[UIButton alloc] init];
                  Button1.frame=CGRectMake(0,0,50,50,50);
                  [baseUIView addSubview:Button1];
                  CATransition *animation= [CATransition animation];
                  animation.timingFunction=UIViewAnimationCurveEaseInOut;
                  animation.duration=1.0f;
                  animation.type=@"rippleEffect";
                  [[BaseUIView layer] addAnimation:animation forKey:animation];

If I use the above code I get the ripple animation for the entire view
. But I just need to animate around the button. So I tried animating a
view formed around the button and adding it to the base view I`m not
getting the animation. Can somebody please help me I`m trying hard to
crack for 3 weeks.


Thanks in advance
Sivakumar
_______________________________________________

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: Animating the view layer
      • From: David Duncan <email@hidden>
  • Prev by Date: Re: isTemporaryID unrecognized selector - how do I debug this?
  • Next by Date: How to debug this?
  • Previous by thread: Re: Controls created at runtime aren't drawn as enabled until a mouse click...
  • Next by thread: Re: Animating the view layer
  • Index(es):
    • Date
    • Thread