CountdownLabel icon indicating copy to clipboard operation
CountdownLabel copied to clipboard

Fix expression to remove type-check compiler error in Xcode 12

Open mushthak opened this issue 3 years ago • 6 comments

Hi There,

Created this PR to fix the issue(#52 ) causing type-check compiler error in Xcode 12.

Thanks for considering it!

mushthak avatar Sep 18 '20 18:09 mushthak

You can assign the owner as a reviewer to take a look at your PR.

hho114 avatar Sep 28 '20 16:09 hho114

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 avatar Oct 05 '20 12:10 mushthak

@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 avatar Dec 11 '20 09:12 magnett

@magnett, For me it is a warning and no issue with compilation or running.

Screen Shot 2020-12-11 at 3 19 06 PM

mushthak avatar Dec 11 '20 09:12 mushthak

You probably have the, iOS Deployment Target < 13.0 , that's why you get a warning instead of an error

magnett avatar Dec 11 '20 09:12 magnett

@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.

Isuru-Nanayakkara avatar Dec 12 '20 07:12 Isuru-Nanayakkara