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

Rename to use CAShapeLayerLineCap #8

Open
pankajsoni19 opened this issue Nov 19, 2018 · 1 comment
Open

Rename to use CAShapeLayerLineCap #8

pankajsoni19 opened this issue Nov 19, 2018 · 1 comment

Comments

@pankajsoni19
Copy link

public func style() -> CAShapeLayerLineCap {
    switch self {
    case .round:
        return CAShapeLayerLineCap.round
    case .butt:
        return CAShapeLayerLineCap.butt
    case .square:
        return CAShapeLayerLineCap.square
    }
}
@zorn
Copy link
Contributor

zorn commented Jan 31, 2019

+1 have same compiler issue

Here is a PR that should fix the issue: #10

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

2 participants