Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 10-23-2010, 08:54 PM   #24 (permalink)
mikelowe
Registered Member
 
Join Date: Dec 2009
Posts: 66
mikelowe is on a distinguished road
Default

Code:
	
angle = angle+.11;
ball.center = CGPointMake(ball.center.x + cos(angle) * 7 , ball.center.y + sin (angle) * 7);
This got a UIImageView moving in a circle for me.
mikelowe is offline   Reply With Quote
 

» Advertisements
» Online Users: 433
13 members and 420 guests
Chickenrig, dinoclaud, Domele, erdinc27, EvilElf, ilmman, JavierEPease, M0schinO, poke, raymng, Techknol, UconnAggie, Warblr
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,590
Threads: 94,083
Posts: 402,776
Top Poster: BrianSlick (7,990)
Welcome to our newest member, JavierEPease
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 02:10 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.