Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in Swift 4.2 #6

Open
MrMatten opened this issue Sep 25, 2018 · 6 comments
Open

Error in Swift 4.2 #6

MrMatten opened this issue Sep 25, 2018 · 6 comments

Comments

@MrMatten
Copy link

MrMatten commented Sep 25, 2018

Any chance to get it updated to the latest version of swift?
It is a really nice package

@Yonodactyl
Copy link

Can you specify what your error is? This issue cant be resolved without direction.

@MrMatten
Copy link
Author

MrMatten commented Sep 28, 2018

Yes of course, sorry seemed like a small mistake that would come automatically, but I can't of course be sure of that
image

It happened straight after I updated. I believe it is Swift 4.2, but I am not sure

@davcpas1234
Copy link

davcpas1234 commented Apr 13, 2019

to resolve this you need to change

shapeLayer.lineCap = lineCap

to:

shapeLayer.lineCap = CAShapeLayerLineCap(rawValue: lineCap)

@MrMatten
Copy link
Author

I did locally, but prefer not to edit packages

@davcpas1234
Copy link

I know, I prefer not to either, but we're stuck unless the repo owner updates it

@vipinlelab
Copy link

Any update on this mentioned issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants