Difference between revisions of "Swift:NSTimer scheduledTimerWithTimeInterval"

From Hawk Wiki
Jump to: navigation, search
(Created page with "Using NSTimer for repeat timer or one time timeout event <pre class="brush:swift"> NSTimer.scheduledTimerWithTimeInterval(previewBlackDuration, target: self, selector: "functi...")
 
(No difference)

Latest revision as of 03:12, 9 April 2015

Using NSTimer for repeat timer or one time timeout event

NSTimer.scheduledTimerWithTimeInterval(previewBlackDuration, target: self, selector: "functionName", userInfo: nil, repeats: false)