diff options
author | Jordan Kiley <jmkiley@users.noreply.github.com> | 2018-10-15 10:18:50 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-15 10:18:50 +0800 |
commit | e35921e504a94cbe5f8cbc35b15943f1d2e8903f (patch) | |
tree | ca56d72727a629f1c100693428d8a7131eb22d0c /platform/darwin/src/MGLShapeCollection.mm | |
parent | 7fb29186c87afcd9bcc3abc2458411bb28cc4380 (diff) | |
download | qtlocation-mapboxgl-e35921e504a94cbe5f8cbc35b15943f1d2e8903f.tar.gz |
[ios] Create a branch that supports iOS 8 (#13036)
* [ios] switched deployment
* [ios, macos] started to restore iOS 8 support
* [ios] Started to restore iOS 8 support
* [ios, macos] Switching storage types
* [ios] update iosapp
* [ios, macos] fixed a test, documented length is unavailable
* [ios] remove safe area from integration test
* [ios] Update Changelog, Installation guide, and README
* [ios] Addressed Fabian's feedback
Diffstat (limited to 'platform/darwin/src/MGLShapeCollection.mm')
-rw-r--r-- | platform/darwin/src/MGLShapeCollection.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/darwin/src/MGLShapeCollection.mm b/platform/darwin/src/MGLShapeCollection.mm index 5db1ee335c..454b0d47f1 100644 --- a/platform/darwin/src/MGLShapeCollection.mm +++ b/platform/darwin/src/MGLShapeCollection.mm @@ -7,11 +7,11 @@ @implementation MGLShapeCollection -+ (instancetype)shapeCollectionWithShapes:(NSArray<MGLShape *> *)shapes { ++ (instancetype)shapeCollectionWithShapes:(NS_ARRAY_OF(MGLShape *) *)shapes { return [[self alloc] initWithShapes:shapes]; } -- (instancetype)initWithShapes:(NSArray<MGLShape *> *)shapes { +- (instancetype)initWithShapes:(NS_ARRAY_OF(MGLShape *) *)shapes { if (self = [super init]) { _shapes = shapes.copy; } |