You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 5, 2018. It is now read-only.
You can't invalidate the NSTimer in
deinit
, asdeinit
is never called since the NSTimer has a strong reference to the target, the controller.Invalidate the timer in something else, like
viewDidDisappear
.(Thanks Chris Hubert!)
See SwiftEducation/Clock#4
The text was updated successfully, but these errors were encountered: