summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md3
-rw-r--r--include/mbgl/ios/MGLMapView+IBAdditions.h4
-rw-r--r--ios/Mapbox-iOS-SDK.podspec2
-rwxr-xr-xios/docs/install_docs.sh2
-rw-r--r--ios/docs/pod-README.md2
-rw-r--r--platform/ios/MGLAccountManager.m2
-rwxr-xr-xscripts/ios/package.sh2
7 files changed, 13 insertions, 4 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index ace53f9e7b..a0fe1a2639 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -37,8 +37,11 @@ Known issues:
- A new `MGLAnnotationImage.enabled` property allows you to disable touch events on individual annotations. ([#2501](https://github.com/mapbox/mapbox-gl-native/pull/2501))
- Fixed a rendering issue that caused one-way arrows along tile boundaries to point due east instead of in the direction of travel. ([#2530](https://github.com/mapbox/mapbox-gl-native/pull/2530))
- Fixed an issue that prevented zoom level–dependent style properties from updating after zooming programmatically with animation. ([#2951](https://github.com/mapbox/mapbox-gl-native/pull/2951))
+- Performance and appearance improvements during annotation adds & removes. ([#1688](https://github.com/mapbox/mapbox-gl-native/issues/1688))
+- Overall improved performance during renders by not rendering faster than necessary. ([#1975](https://github.com/mapbox/mapbox-gl-native/issues/1975))
- Fixed a rendering issue with styles that use the `background-pattern` property. ([#2531](https://github.com/mapbox/mapbox-gl-native/pull/2531))
- Fixed a crash when reusing a single `MGLMapView` across multiple `UIViewController`s. ([#2969](https://github.com/mapbox/mapbox-gl-native/pull/2969))
+- Fixed a crash on iPod touch and other devices or simulators without a cell carrier. ([#2687](https://github.com/mapbox/mapbox-gl-native/issues/2687))
- Eliminated flickering when opening and closing an overlay, such as an alert or action sheet. ([#2309](https://github.com/mapbox/mapbox-gl-native/pull/2309))
- Labels can now line wrap on hyphens and other punctuation. ([#2598](https://github.com/mapbox/mapbox-gl-native/pull/2598))
- A new delegate callback was added for observing taps to annotation callout views. ([#2596](https://github.com/mapbox/mapbox-gl-native/pull/2596))
diff --git a/include/mbgl/ios/MGLMapView+IBAdditions.h b/include/mbgl/ios/MGLMapView+IBAdditions.h
index 52d5d433b6..f18df56e01 100644
--- a/include/mbgl/ios/MGLMapView+IBAdditions.h
+++ b/include/mbgl/ios/MGLMapView+IBAdditions.h
@@ -14,12 +14,16 @@ NS_ASSUME_NONNULL_BEGIN
// inspectables declared in MGLMapView.h are always sorted before those in
// MGLMapView+IBAdditions.h, due to ASCII sort order.
+#if TARGET_INTERFACE_BUILDER
+
// HACK: We want this property to look like a URL bar in the Attributes
// inspector, but just calling it styleURL would violate Cocoa naming
// conventions and conflict with the existing NSURL property. Fortunately, IB
// strips out the two underscores for display.
@property (nonatomic, nullable) IBInspectable NSString *styleURL__;
+#endif // TARGET_INTERFACE_BUILDER
+
// Convenience properties related to the initial viewport. These properties
// are not meant to be used outside of Interface Builder. latitude and longitude
// are backed by properties of type CLLocationDegrees, but these declarations
diff --git a/ios/Mapbox-iOS-SDK.podspec b/ios/Mapbox-iOS-SDK.podspec
index e8cc62f560..fb6cdce739 100644
--- a/ios/Mapbox-iOS-SDK.podspec
+++ b/ios/Mapbox-iOS-SDK.podspec
@@ -1,7 +1,7 @@
Pod::Spec.new do |m|
m.name = 'Mapbox-iOS-SDK'
- m.version = '3.0.0-pre.7-symbols'
+ m.version = '3.0.0'
m.summary = 'Open source vector map solution for iOS with full styling capabilities.'
m.description = 'Open source OpenGL-based vector map solution for iOS with full styling capabilities and Cocoa bindings.'
diff --git a/ios/docs/install_docs.sh b/ios/docs/install_docs.sh
index 8d1b8f553e..43af9432b2 100755
--- a/ios/docs/install_docs.sh
+++ b/ios/docs/install_docs.sh
@@ -17,7 +17,7 @@ README=/tmp/mbgl/GL-README.md
cat ./pod-README.md > ${README}
echo >> ${README}
echo -n "#" >> ${README}
-cat ../../CHANGELOG.md >> ${README}
+cat ../../CHANGELOG.md | sed -n "/^## iOS ${DOCS_VERSION}/,/^##/p" | sed '$d' >> ${README}
# Copy headers to a temporary location where we can substitute macros that appledoc doesn't understand.
cp -r ../../include/mbgl/ios /tmp/mbgl
perl \
diff --git a/ios/docs/pod-README.md b/ios/docs/pod-README.md
index 1fe3ac4f35..23898c5dd3 100644
--- a/ios/docs/pod-README.md
+++ b/ios/docs/pod-README.md
@@ -5,3 +5,5 @@ An open source OpenGL-based vector map solution for iOS with full styling capabi
For more information, check out [our online overview](https://www.mapbox.com/ios-sdk/).
[![](https://raw.githubusercontent.com/mapbox/mapbox-gl-native/master/ios/screenshot.png)]()
+
+See the [full changelog](https://github.com/mapbox/mapbox-gl-native/blob/master/CHANGELOG.md) online.
diff --git a/platform/ios/MGLAccountManager.m b/platform/ios/MGLAccountManager.m
index b78db7094d..522f3cb0b3 100644
--- a/platform/ios/MGLAccountManager.m
+++ b/platform/ios/MGLAccountManager.m
@@ -85,7 +85,7 @@
}
+ (NSString *)kitDisplayVersion {
- return @"3.0.0-pre.7";
+ return @"3.0.0";
}
+ (void)initializeIfNeeded {
diff --git a/scripts/ios/package.sh b/scripts/ios/package.sh
index 1208700698..41694c2f63 100755
--- a/scripts/ios/package.sh
+++ b/scripts/ios/package.sh
@@ -128,7 +128,7 @@ README=/tmp/mbgl/README.md
cat ios/docs/pod-README.md > ${README}
echo >> ${README}
echo -n "#" >> ${README}
-cat CHANGELOG.md >> ${README}
+cat CHANGELOG.md | sed -n "/^## iOS ${DOCS_VERSION}/,/^##/p" | sed '$d' >> ${README}
# Copy headers to a temporary location where we can substitute macros that appledoc doesn't understand.
cp -r "${OUTPUT}/static/Headers" /tmp/mbgl
perl \