So the timer works once but after the first time it doesnt work anymore... What's the problem and how can it be fixed? Thanks!
override func viewDidLoad() {
super.viewDidLoad()
let myTimer : Timer = Timer.scheduledTimer(timeInterval: 7, target: self, selector: (selector: "functionOne"), userInfo: nil, repeats: true)
}
}
func functionOne()
{
print("hello")
}