Skip to content

Fix sine xcode 14 warnings #3989

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

Merged
merged 1 commit into from
Aug 10, 2022
Merged

Fix sine xcode 14 warnings #3989

merged 1 commit into from
Aug 10, 2022

Conversation

S2Ler
Copy link
Contributor

@S2Ler S2Ler commented Jul 6, 2022

The warnings say that you can't override methods/properties that are declared in an extension. That means there is no reason to mark methods as open.

  • In one case, I just move the method to the main declaration so that it can be overridden.
  • In the other cases, I can't simply do it because the type is in "MapboxDirections". But it is possible to move some of these to "MapboxDirections" but it would be considered a breaking change, so I'm keeping them as is.

@S2Ler S2Ler added the op-ex Refactoring, Tech Debt or any other operational excellence work. label Jul 6, 2022
@S2Ler S2Ler requested a review from a team July 6, 2022 13:09
@S2Ler S2Ler self-assigned this Jul 6, 2022
@mapbox-github-ci-issues-public-1

Breaking Changes in MapboxCoreNavigation

Breaking API Changes

lastInstruction

  • modified var: lastInstruction
    Type of change: Access Level
    From: open
    To: public

calculateOffline(options:completionHandler:)

  • modified method: calculateOffline(options:completionHandler:)
    Type of change: Access Level
    From: open
    To: public

calculateWithCache(options:completionHandler:)

  • modified method: calculateWithCache(options:completionHandler:)
    Type of change: Access Level
    From: open
    To: public

isMotorway

  • modified var: isMotorway
    Type of change: Access Level
    From: open
    To: public

@S2Ler S2Ler force-pushed the s2ler/fix-xcode-14-warnings branch from 903bf8c to e9fc283 Compare July 13, 2022 07:19
@S2Ler
Copy link
Contributor Author

S2Ler commented Jul 13, 2022

Breaking Changes in MapboxCoreNavigation

Breaking API Changes

lastInstruction

  • modified var: lastInstruction

    Type of change:
    Access Level

    From:
    open

    To:
    public

calculateOffline(options:completionHandler:)

  • modified method: calculateOffline(options:completionHandler:)

    Type of change:
    Access Level

    From:
    open

    To:
    public

calculateWithCache(options:completionHandler:)

  • modified method: calculateWithCache(options:completionHandler:)

    Type of change:
    Access Level

    From:
    open

    To:
    public

isMotorway

  • modified var: isMotorway

    Type of change:
    Access Level

    From:
    open

    To:
    public

This is not a breaking change.

@mapbox-github-ci-issues-public-1

Breaking Changes in MapboxCoreNavigation

Breaking API Changes

lastInstruction

  • modified var: lastInstruction
    Type of change: Access Level
    From: open
    To: public

isMotorway

  • modified var: isMotorway
    Type of change: Access Level
    From: open
    To: public

calculateWithCache(options:completionHandler:)

  • modified method: calculateWithCache(options:completionHandler:)
    Type of change: Access Level
    From: open
    To: public

calculateOffline(options:completionHandler:)

  • modified method: calculateOffline(options:completionHandler:)
    Type of change: Access Level
    From: open
    To: public

@S2Ler S2Ler force-pushed the s2ler/fix-xcode-14-warnings branch from e9fc283 to 5e2cdde Compare August 10, 2022 08:11
@mapbox-github-ci-issues-public-1

Breaking Changes in MapboxCoreNavigation

Breaking API Changes

calculateOffline(options:completionHandler:)

  • modified method: calculateOffline(options:completionHandler:)
    Type of change: Access Level
    From: open
    To: public

calculateWithCache(options:completionHandler:)

  • modified method: calculateWithCache(options:completionHandler:)
    Type of change: Access Level
    From: open
    To: public

lastInstruction

  • modified var: lastInstruction
    Type of change: Access Level
    From: open
    To: public

isMotorway

  • modified var: isMotorway
    Type of change: Access Level
    From: open
    To: public

@S2Ler S2Ler merged commit 793a34f into main Aug 10, 2022
@S2Ler S2Ler deleted the s2ler/fix-xcode-14-warnings branch August 10, 2022 12:30
MaximAlien pushed a commit that referenced this pull request Sep 6, 2022
thanhminhkma pushed a commit to thanhminhkma/mapbox-navigation-ios that referenced this pull request Sep 14, 2022
thanhminhkma pushed a commit to thanhminhkma/mapbox-navigation-ios that referenced this pull request Sep 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
op-ex Refactoring, Tech Debt or any other operational excellence work.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants