Swift 6 will not allow referencing or mutating the ‘countdown’ variable inside the scheduleTimer block.
What would be a Swift 6-compatible solution?
1 Like
Swift 6 isn’t released yet, I can’t speculate how the code would look like when released.
2 Likes
As Swift 6 is released, could you please advise a solution
It is still not released
1 Like
I was hoping to find answers here but not very helpful.
Any update on this issue? Is there going to be an updated version of the book?