var playerTimer:Timer!
创建计时器
self.playerTimer = Timer.scheduledTimer(timeInterval: 1, target: self, selector:#selector(revoleStart), userInfo: nil, repeats: true);
启动计时器
self.playerTimer.fire()
计时器暂停
self.playerTimer.fireDate = Date.distantFuture
计时器继续
self.playerTimer.fireDate = Date.distantPast
计时器销毁
self.playerTimer.invalidate()
func revoleStart (){
// *******
}