I have created an GKSession and as its object is created, it starts search for availability of devices, as
- (void)session:(GKSession *)session peer:(NSStri
Swift 5.0
var timer = Timer.scheduledTimer(timeInterval: 60.0, target: self, selector: #selector(updateTimer), userInfo: nil, repeats: true) @objc func updateTimer() { print("1 min passed") }