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 support for Swift Package Manager #8

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

wvteijlingen
Copy link

This PR adds support for Swift Package Manager by adding a Package.swift file

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.

@wvteijlingen
Copy link
Author

wvteijlingen commented Jun 14, 2023

Seems like Travis fails because of a Podspec listing error. That is unrelated to this PR though, I did not make any changes to the podspec.

Copy link
Contributor

@adamkaplan adamkaplan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@@ -305,13 +306,13 @@ public extension YMTreeMap {
}
}

internal extension YMTreeMap.Rect {
extension YMTreeMap.Rect {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, what’s the right way to do this now? Ideally public APIs are minimized because they’re contracts. But this is very minor.

Copy link
Author

@wvteijlingen wvteijlingen Jun 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I merely removed the access modifiers on the extensions because they are redundant. The properties and functions inside the extensions already specify their access level. This just fixes a compiler warning, there is no actual change to the access levels.

@adamkaplan
Copy link
Contributor

Seems like Travis fails because of a Podspec listing error. That is unrelated to this PR though, I did not make any changes to the podspec.

Looks like the version of Cocoapods no longer supports swift_version field

Change `swift_version` to `swift_versions`
@adamkaplan
Copy link
Contributor

adamkaplan commented Jul 6, 2023 via email

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