CountdownLabel
CountdownLabel copied to clipboard
Fix expression to remove type-check compiler error in Xcode 12
Hi There,
Created this PR to fix the issue(#52 ) causing type-check compiler error in Xcode 12.
Thanks for considering it!
You can assign the owner as a reviewer to take a look at your PR.
You can assign the owner as a reviewer to take a look at your PR.
There is no edit option in the reviewers section. I will add a comment down here. Hi @suzuki-0000 , awaiting review for this PR.
@mushthak it still doesn't compile using Xcode 12.2
error in CountdownLabel.swift, line 36
: Using '!' is not allowed here; perhaps '?' was intended?
@magnett, For me it is a warning and no issue with compilation or running.
![Screen Shot 2020-12-11 at 3 19 06 PM](https://user-images.githubusercontent.com/11793859/101888654-6b043a00-3bc4-11eb-955c-b8c0aecb5f75.png)
You probably have the, iOS Deployment Target
< 13.0 , that's why you get a warning instead of an error
@mushthak it still doesn't compile using Xcode 12.2 error in
CountdownLabel.swift, line 36
: Using '!' is not allowed here; perhaps '?' was intended?
Yep, I'm getting this error too.