Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2019
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. let timer = Timer.scheduledTimer(timeInterval: 5.0, target: self, selector: #selector(updateData), userInfo: nil, repeats: true)
  2.  
  3. @objc func updateData() {
  4. print("update data here and then display!")
  5. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement