Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Fix runtime styling deprecation warnings #7972

Merged
merged 1 commit into from
Feb 9, 2017
Merged

Conversation

1ec5
Copy link
Contributor

@1ec5 1ec5 commented Feb 8, 2017

Fixed deprecation warnings in macosapp and the Darwin tests that were introduced in #7785 and #7596, other than the warnings being fixed in #7960. I ended up fixing the warnings in the tests by porting the tests from Swift to Objective-C, where I could suppress the warnings using a #pragma statement.

/cc @fabian-guerra

@1ec5 1ec5 added build iOS Mapbox Maps SDK for iOS macOS Mapbox Maps SDK for macOS runtime styling labels Feb 8, 2017
@1ec5 1ec5 added this to the ios-v3.5.0 milestone Feb 8, 2017
@1ec5 1ec5 self-assigned this Feb 8, 2017
@1ec5 1ec5 requested a review from boundsj February 8, 2017 02:29
@mention-bot
Copy link

@1ec5, thanks for your PR! By analyzing this pull request, we identified @boundsj, @friedbunny and @jfirebaugh to be potential reviewers.

Copy link
Contributor

@boundsj boundsj left a comment

Choose a reason for hiding this comment

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

This looks good. Some new tests were added to check that MGLStyleFunction instances convert to camera functions when set to properties so those should be moved and their warnings ignored, too.

@1ec5 1ec5 merged commit 360e5bf into master Feb 9, 2017
@1ec5 1ec5 deleted the 1ec5-dds-test-deprecation branch February 9, 2017 00:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
build iOS Mapbox Maps SDK for iOS macOS Mapbox Maps SDK for macOS runtime styling
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants