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

Add Swift Package Manager support. #25

Merged
merged 2 commits into from Dec 7, 2020
Merged

Add Swift Package Manager support. #25

merged 2 commits into from Dec 7, 2020

Conversation

iWECon
Copy link
Contributor

@iWECon iWECon commented Dec 2, 2020

No description provided.

@iWECon
Copy link
Contributor Author

iWECon commented Dec 2, 2020

增加 swiftpm 支持,并清除了一些编译器警告( extension 被标记为 public 后,代码块里的函数和方法都不需要再次标记)

pubilc extension UIView {
    // xcode warning
    public var x: CGFloat { frame.origin.x }

    // no warning, and mark as public
    var x: CGFloat { frame.origin.x }
}

@Lision Lision merged commit 623a805 into Lision:master Dec 7, 2020
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

Successfully merging this pull request may close these issues.

None yet

2 participants