Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 9    Views: 72

feraco
Aspiring developer
Profile
Posts: 705
Reg: Jan 23, 2012
nyc
15,050
10/03/13 08:57 AM (12 years ago)

Animate UIImageView in XIB plug in.

Hello all I saw an app the had a cool animation of one of the menu screens. I have been doing some research and i want to know how to animate a UIImageView in a xib. Specifically the xib button plug in. Im really excited about this and have been obsessing for the past 24 hours. Has anyone done this? What do I need to add to the xib button plug in code?
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
10/03/13 08:59 AM (12 years ago)
What's the animation
 
feraco
Aspiring developer
Profile
Posts: 705
Reg: Jan 23, 2012
nyc
15,050
like
10/03/13 09:02 AM (12 years ago)
I Just want my logo or a cartoon character to move around. maybe spin, bounce I want to experiment with this. I can make a sequence of images.
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
10/03/13 11:19 AM (12 years ago)
I think you're talking about this guy: http://www.buzztouch.com/broomla Based from this post i think: www.buzztouch.com/forum/thread.php?tid=B9532C2A6BBF4D25760FA27 It has the spinning animations :)
 
feraco
Aspiring developer
Profile
Posts: 705
Reg: Jan 23, 2012
nyc
15,050
like
10/03/13 11:23 AM (12 years ago)
Its actually the airplane app that david showed us in VA.
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
10/03/13 11:44 AM (12 years ago)
ah ok :) I believe his name was Mario .. maybe contact him?! http://www.buzztouch.com/Mario%20@%20buzztouch
 
feraco
Aspiring developer
Profile
Posts: 705
Reg: Jan 23, 2012
nyc
15,050
like
10/03/13 12:22 PM (12 years ago)
I tried no contact info
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
10/06/13 07:39 PM (12 years ago)
Try asking David Book for Mario's contact info. I think they talk twice a month, if not more! Let us know if it is something you or Mario can share with all of us. -- Niraj
 
feraco
Aspiring developer
Profile
Posts: 705
Reg: Jan 23, 2012
nyc
15,050
like
12/29/13 11:24 AM (12 years ago)
Ok i have an image that is animated. In the xib button plug in i added the code below. But animated image is in the middle of the screen Im not sure how to move it. Does anyone have any suggestions? // Load images NSArray *imageNames = @[@"gear_1.png", @"gear_2.png", @"gear_3.png", @"gear_4.png", @"gear_5.png", @"gear_6.png", @"gear_7.png", @"gear_8.png", @"gear_9.png", @"gear_10.png"]; NSMutableArray *images = [[NSMutableArray alloc] init]; for (int i = 0; i < imageNames.count; i++) { [images addObject:[UIImage imageNamed:[imageNames objectAtIndex:i]]]; } // Normal Animation UIImageView *animationImageView = [[UIImageView alloc] initWithFrame:CGRectMake(60, 95, 86, 193)]; animationImageView.animationImages = images; animationImageView.animationDuration = 1.0; [self.view addSubview:animationImageView]; [animationImageView startAnimating]; }
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
12/29/13 11:43 AM (12 years ago)
Look on this post for a comment by Broomla in the middle of the long thread http://www.buzztouch.com/forum/thread.php?tid=B9532C2A6BBF4D25760FA27 -- Niraj
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.