This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
[ios, macos] Runtime styling cleanup and fixes. - #5980
Merged
Merged
Conversation
This was referenced Aug 15, 2016
frederoni
force-pushed
the
fred-runtime-styling-tw
branch
3 times, most recently
from
August 16, 2016 09:46
a852b17 to
2291fd8
Compare
frederoni
force-pushed
the
fred-runtime-styling-tw
branch
2 times, most recently
from
August 17, 2016 10:00
97a9b8c to
5fa22f6
Compare
Contributor
Author
There was a problem hiding this comment.
Do we have a better place to put these conversion methods?
Contributor
There was a problem hiding this comment.
Not currently. We do need a good home for non-geometric utility functions. The macOS version of MGLMapView.mm also defines an MGLDurationInSeconds(). It’d be great if we could replace them with a single method somewhere in platform/darwin/src/. Considering that NSTimeInterval is defined in NSDate.h, how about adding a private NSDate+MGLAdditions.h that just contains this method for now but could in the future have a category on NSDate?
frederoni
force-pushed
the
fred-runtime-styling-tw
branch
from
August 18, 2016 08:34
5fa22f6 to
23c6b9a
Compare
Contributor
There was a problem hiding this comment.
Nit: also drop the - here and on -addStyleClass: and -removeStyleClass:.
frederoni
force-pushed
the
fred-runtime-styling-tw
branch
2 times, most recently
from
August 18, 2016 12:08
b862f10 to
5f40464
Compare
frederoni
force-pushed
the
fred-runtime-styling-tw
branch
from
August 18, 2016 12:26
5f40464 to
a202941
Compare
Contributor
|
Reopened #5995 because it wasn’t included in this PR. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR will be used to clean up runtime styling. Issues that involves a bit more work and complexity will be handled in separate PRs.
Checklist: