From e35921e504a94cbe5f8cbc35b15943f1d2e8903f Mon Sep 17 00:00:00 2001 From: Jordan Kiley Date: Mon, 15 Oct 2018 10:18:50 +0800 Subject: [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 --- platform/darwin/src/MGLShapeCollection.mm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'platform/darwin/src/MGLShapeCollection.mm') 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 *)shapes { ++ (instancetype)shapeCollectionWithShapes:(NS_ARRAY_OF(MGLShape *) *)shapes { return [[self alloc] initWithShapes:shapes]; } -- (instancetype)initWithShapes:(NSArray *)shapes { +- (instancetype)initWithShapes:(NS_ARRAY_OF(MGLShape *) *)shapes { if (self = [super init]) { _shapes = shapes.copy; } -- cgit v1.2.1