bmende
bmende

Reputation: 741

is there a way to replicate the moveTo method in cocos2d for UIKit?

I would rather not change my entire project to cocos2d from UIKit, because all I need from cocos is the moveTo thing, so how can I do this method in UIKit anyone have any ideas?

Upvotes: 0

Views: 54

Answers (2)

Bot
Bot

Reputation: 11855

Take a look at http://www.raywenderlich.com/5478/uiview-animation-tutorial-practical-recipes I found this with a simple google search.

Specifically you will want

[UIView animateWithDuration: animations:^{}];

Upvotes: 1

ezekielDFM
ezekielDFM

Reputation: 1977

There is an entire animation set for UIKit. Here's a link to Apple's Animation docs:

http://developer.apple.com/library/ios/#documentation/windowsviews/conceptual/viewpg_iphoneos/animatingviews/animatingviews.html

Upvotes: 1

Related Questions