[Solved] Update Once each in specific time [closed]


Your code doesn’t add much to your question, so I don’t really know if this is what you are looking for, but here is some code to call a function every X time (swift 3):

// call MyMethod every 1 second :
Timer.scheduledTimer(timeInterval: 1, target: self, selector: #selector(MyController.myMethod), userInfo: nil, repeats: true)

Please search before you post a question -> answer

4

solved Update Once each in specific time [closed]