Swift : Extra Argument in call with scheduledTimerWithTimeInterval
问题 I create a simple WatchApp Metronome. I use NSTimer with .scheduledTimerWithTimeInterval, and I have an error Extra Argument 'selector' in call Thanks for your answers func playBeat() { if(self.State == true) { self.State == false [labelPlayPause.setTitle("Pause")] } else { self.State == true [labelPlayPause.setTitle("Play")] } BPMValue = 10 var BPMInt:Int = Int(BPMValue) let value = "\(BPMInt) BPM" labelBPM.setText(value) let aSelector: Selector = "playBeat" dispatch_async(dispatch_get_main