xcode - Increasing an images size over time? -


i have image needs increase in size on time. how go doing that?

var timer = nstimer.scheduledtimerwithtimeinterval(0.4, target: self, selector: selector("grow"), userinfo: nil, repeats: true)

for actual function confused how write it.

if want fluid animation, use this:

uiview.animatewithduration(0.4, animations: { () -> void in     imageview.transform = cgaffinetransformmakescale(2.0, 2.0) }) 

Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -