summaryrefslogtreecommitdiff
path: root/platform/darwin/src/NSValue+MGLStyleAttributeAdditions.mm
diff options
context:
space:
mode:
Diffstat (limited to 'platform/darwin/src/NSValue+MGLStyleAttributeAdditions.mm')
-rw-r--r--platform/darwin/src/NSValue+MGLStyleAttributeAdditions.mm19
1 files changed, 0 insertions, 19 deletions
diff --git a/platform/darwin/src/NSValue+MGLStyleAttributeAdditions.mm b/platform/darwin/src/NSValue+MGLStyleAttributeAdditions.mm
index 83266e7db5..59afe559d7 100644
--- a/platform/darwin/src/NSValue+MGLStyleAttributeAdditions.mm
+++ b/platform/darwin/src/NSValue+MGLStyleAttributeAdditions.mm
@@ -1,9 +1,5 @@
#import "NSValue+MGLStyleAttributeAdditions.h"
-#import "NSValue+MGLStyleAttributeAdditions_Private.h"
-
-#include <array>
-
#if TARGET_OS_IPHONE
#import <UIKit/UIKit.h>
#define MGLEdgeInsets UIEdgeInsets
@@ -32,16 +28,6 @@
return [NSValue value:&insets withObjCType:@encode(MGLEdgeInsets)];
}
-- (BOOL)isFunction
-{
- return NO;
-}
-
-- (mbgl::style::PropertyValue<std::array<float, 2>>)mbgl_offsetPropertyValue
-{
- return { self.mgl_offsetArrayValue };
-}
-
- (std::array<float, 2>)mgl_offsetArrayValue
{
NSAssert(strcmp(self.objCType, @encode(CGVector)) == 0, @"Value does not represent a CGVector");
@@ -53,11 +39,6 @@
};
}
-- (mbgl::style::PropertyValue<std::array<float, 4>>)mbgl_paddingPropertyValue
-{
- return { self.mgl_paddingArrayValue };
-}
-
- (std::array<float, 4>)mgl_paddingArrayValue
{
NSAssert(strcmp(self.objCType, @encode(MGLEdgeInsets)) == 0, @"Value does not represent an NSEdgeInsets/UIEdgeInsets");