This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
Various class methods should be class properties #6778
Labels
iOS
Mapbox Maps SDK for iOS
macOS
Mapbox Maps SDK for macOS
refactor
SEMVER-MAJOR
Requires a major release according to Semantic Versioning rules
Milestone
Various methods like
+[MGLStyle streetsStyleURL]
,+[MGLAccountManager accessToken]
/+[MGLAccountManager setAccessToken:]
, and+[MGLOfflineStorage sharedOfflineStorage]
should be class properties with refined Swift names (#5178). Swift code would be able to say:Once #6386 is fixed, Swift code would be able to say:
This change will require anyone compiling or building or using the SDK in another project to use Xcode 8.0 or above. It would also require a major version bump if we aren’t able to keep the old methods around as deprecated aliases.
/cc @friedbunny @frederoni
The text was updated successfully, but these errors were encountered: