Created
July 1, 2012 18:58
-
-
Save hunk/3029254 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://github.com/hunk/Kit-iOS/tree/master/rotation | |
//para iniciar la animación | |
// el primer parametro es el tiempo en segundos de cada ciclo (vuelta completa) | |
// el segundo parametro es la dirección de la rotación | |
[my_button spinInfinityButtonWithTime:2 direction:-1]; | |
[my_image spinInfinityImageWithTime:5 direction:1]; | |
//para terminar la animación | |
[my_button stopSpinInfinityButton]; | |
[my_image stopSpinInfinityImage]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment