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

Refine Obj-C bridging for CoordinateBounds #325

Merged
merged 1 commit into from
Dec 10, 2018

Conversation

frederoni
Copy link
Contributor

@frederoni frederoni commented Dec 6, 2018

This is a breaking change so we have to bump the minor version number for next release.

cc @1ec5 @JThramer

Copy link
Contributor

@vincethecoder vincethecoder left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -22,7 +22,7 @@ public class CoordinateBounds: NSObject, Codable {
/**
Initializes a `BoundingBox` from an array of `CLLocationCoordinate2D`’s.
*/
@objc
@objc(initWithCoordinates:)
convenience public init(_ coordinates: [CLLocationCoordinate2D]) {
Copy link
Contributor

Choose a reason for hiding this comment

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

The Objective-C signature would be correct but for this _. _ should only be used in exceptional cases.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is now a breaking change so we have to bump the minor version number for next release.

@frederoni frederoni merged commit f9b0583 into master Dec 10, 2018
@frederoni frederoni deleted the fred/objc-refine-coordb branch December 10, 2018 18:33
@1ec5 1ec5 added the backwards incompatible changes that break backwards compatibility of public API label Dec 20, 2018
@1ec5 1ec5 added this to the v0.26.0 milestone Dec 20, 2018
@1ec5
Copy link
Contributor

1ec5 commented Dec 20, 2018

Added this breaking change to the changelog in 8824016.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backwards incompatible changes that break backwards compatibility of public API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants