Answers for "call api in 1 min interval using swift 4"

1

swift setinterval

var helloWorldTimer = Timer.scheduledTimer(timeInterval: 60.0, target: self, selector: #selector(ViewController.sayHello), userInfo: nil, repeats: true)

 @objc func sayHello() 
 {
     NSLog("hello World")
 }
Posted by: Guest on March-04-2020

Code answers related to "call api in 1 min interval using swift 4"

Code answers related to "Swift"

Browse Popular Code Answers by Language