Project 30 timer code not matching with book text
jakedgrant opened this issue · comments
Jake Grant commented
Code in project file:
Code in book text:
self.animTimer = Timer.scheduledTimerWithTimeInterval(5, target: self, selector: #selector(animateImage), userInfo: nil, repeats: true)
Looks like the book text needs updated since scheduledTimer(withTimeInterval:repeats:block)
is the current syntax.
Paul Hudson commented
Thanks! This will be fixed in the next update.