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

Split NSValue+MGLStyleEnumAttributeAdditions category per style layer type #7576

Merged
merged 2 commits into from
Jan 7, 2017

Conversation

1ec5
Copy link
Contributor

@1ec5 1ec5 commented Jan 2, 2017

Split the NSValue+MGLStyleEnumAttributeAdditions category into one category for each style layer type and renamed the category files to have a slightly more wieldy name.

@1ec5 1ec5 added iOS Mapbox Maps SDK for iOS macOS Mapbox Maps SDK for macOS refactor runtime styling labels Jan 2, 2017
@1ec5 1ec5 added this to the ios-v3.4.0 milestone Jan 2, 2017
@1ec5 1ec5 self-assigned this Jan 2, 2017
@1ec5 1ec5 requested a review from boundsj January 2, 2017 23:55
@mention-bot
Copy link

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

@1ec5
Copy link
Contributor Author

1ec5 commented Jan 3, 2017

In 3fb2489, I decided to move the categories into their respective style layer headers, so that they’d be closer to the enumeration declarations. (It also simplifies the code a bit.) Unfortunately, that change triggers realm/jazzy#539: now all the declarations are under “NSValue (MGLCircleStyleLayerAdditions)”. Unless I find a fix for the upstream issue, I’ll revert the change and leave it for another day.

@1ec5
Copy link
Contributor Author

1ec5 commented Jan 3, 2017

A fix for the upstream issue is in realm/jazzy#719:

categories

…r style layer type

Also renamed the file to have a slightly more wieldy name.
…ations

Eliminated the separate NSValue+MGLStyleLayerAddition files, moving the categories into their respective style layer headers to be closer to the enumeration declarations.
@1ec5 1ec5 force-pushed the 1ec5-style-enum-value-categories branch from 3fb2489 to fa2035b Compare January 7, 2017 09:48
@1ec5
Copy link
Contributor Author

1ec5 commented Jan 7, 2017

Merging now that realm/jazzy#719 has landed. We’ll have to make sure to generate the documentation using jazzy on master.

@1ec5 1ec5 merged commit d5d6bce into release-ios-v3.4.0 Jan 7, 2017
@1ec5 1ec5 deleted the 1ec5-style-enum-value-categories branch January 7, 2017 22:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
iOS Mapbox Maps SDK for iOS macOS Mapbox Maps SDK for macOS refactor runtime styling
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants