Swift:NSTimer scheduledTimerWithTimeInterval
From Hawk Wiki
Revision as of 03:12, 9 April 2015 by Hall (Talk | contribs) (Created page with "Using NSTimer for repeat timer or one time timeout event <pre class="brush:swift"> NSTimer.scheduledTimerWithTimeInterval(previewBlackDuration, target: self, selector: "functi...")
Using NSTimer for repeat timer or one time timeout event
NSTimer.scheduledTimerWithTimeInterval(previewBlackDuration, target: self, selector: "functionName", userInfo: nil, repeats: false)