栃木県のJavaエンジニア、WEBプログラマーのためのサイト
60秒後にtimerメソッドを実行
func startTimer() { // タイマー開始 NSTimer.scheduledTimerWithTimeInterval(60, target: self, selector: "timer", userInfo: nil, repeats: false) } func timer() { println("timer") }
≪Older articles
New articles ≫
>トップページ