質問編集履歴

1

誤字

2018/12/27 16:45

投稿

ZY.
ZY.

score22

test CHANGED
File without changes
test CHANGED
@@ -104,7 +104,7 @@
104
104
 
105
105
  @IBAction func startStop(_ sender: Any) {
106
106
 
107
- timer = Timer!.scheduledTimerWithTimeInterval(2.0, target: self, selector: #selector(ViewController.onTimer(_:)), userInfo: nil, repeats: true)
107
+ timer = Timer.scheduledTimerWithTimeInterval(2.0, target: self, selector: #selector(ViewController.onTimer(_:)), userInfo: nil, repeats: true)
108
108
 
109
109
  }
110
110