Repository navigation
iOS immediate style 😎 - #6018
Conversation
|
@incanus, thanks for your PR! By analyzing this pull request, we identified @1ec5, @friedbunny and @boundsj to be potential reviewers. |
|
There should no longer be a use case for calling |
|
Ok, attempted |
|
Feel good about this then @1ec5 @frederoni? If so I'll squash & merge. I think it's in 👌 shape. |
|
Looks good. Interesting that no change was needed in MapDocument.m. I take that as evidence that developers would likely forget to call |
|
Adding/removing a source or a layer also recalculates styles and classes, that's why no This looks good to me 👍 |
bb9652d to
01b94de
Compare
|
Dang, keep forgetting the |
|
MGLBaseStyleLayer_Private.hpp wasn’t added to ios.xcodeproj or macos.xcodeproj. The projects build, because it was only included privately anyways, but we should add it to the projects. |
Fixed in #6020. |
|
Oh weird; I didn't realize we did this manually now vs. getting picked up by the build system based on location and file extension. |
|
CMake does automatically pull core files into the project it generates, but the SDK-level projects are checked into the repository (#3275), so we use the standard Xcode workflow for that. Feel free to use Xcode’s New File sheet etc. |
No, it doesn't. If you add/remove files, we have a convenience script at |
|
I stand corrected. 😀 That's actually better than what we had with GYP, because we had to manually add SDK files to the .gypi file. With GYP, it was only automatic based on the file extension and location for core files (?) and for SDK resource files. But never for SDK source files or headers, because Xcode's build system doesn't support target membership based on folder references.) |
Fixes #5957 by introducing an automatic call to
-[MGLBaseStyleLayer update]for all setters.#6017 tracks a more efficient transaction block mechanism, which doesn't necessarily have to be a part of the same release.
/cc @frederoni @1ec5