Created
October 21, 2013 18:43
-
-
Save psobko/7088787 to your computer and use it in GitHub Desktop.
NSTimer
This file contains hidden or 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
//Setup | |
NSTimer *aTimer = [NSTimer scheduledTimerWithTimeInterval:0.1f | |
target:self | |
selector:@selector(someSelector) | |
userInfo:nil | |
repeats:YES]; | |
//Tear down | |
[aTimer invalidate]; | |
aTimer = nil; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment