summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
Diffstat (limited to 'platform')
-rw-r--r--platform/darwin/src/MGLStyleAttributeFunction.h2
-rw-r--r--platform/darwin/src/MGLStyleAttributeValue_Private.h1
-rw-r--r--platform/darwin/src/NSValue+MGLStyleAttributeAdditions.mm8
-rw-r--r--platform/darwin/src/NSValue+MGLStyleAttributeAdditions_Private.h3
4 files changed, 0 insertions, 14 deletions
diff --git a/platform/darwin/src/MGLStyleAttributeFunction.h b/platform/darwin/src/MGLStyleAttributeFunction.h
index 71e15a3213..e636c1addd 100644
--- a/platform/darwin/src/MGLStyleAttributeFunction.h
+++ b/platform/darwin/src/MGLStyleAttributeFunction.h
@@ -10,8 +10,6 @@ NS_ASSUME_NONNULL_BEGIN
@property (nonatomic, copy) NS_DICTIONARY_OF(NSNumber *, id) *stops;
-@property (nonatomic, copy, nullable) NSString *property;
-
@property (nonatomic, copy, nullable) NSNumber *base;
@end
diff --git a/platform/darwin/src/MGLStyleAttributeValue_Private.h b/platform/darwin/src/MGLStyleAttributeValue_Private.h
index 3051f663d7..4b8fd1cc01 100644
--- a/platform/darwin/src/MGLStyleAttributeValue_Private.h
+++ b/platform/darwin/src/MGLStyleAttributeValue_Private.h
@@ -17,7 +17,6 @@
- (mbgl::style::PropertyValue<std::array<float, 4>>)mbgl_paddingPropertyValue;
- (mbgl::style::PropertyValue<std::vector<std::string> >)mbgl_stringArrayPropertyValue;
- (mbgl::style::PropertyValue<std::vector<float> >)mbgl_numberArrayPropertyValue;
-- (mbgl::style::PropertyValue<uint8_t>)mbgl_enumPropertyValue;
// Convert mbgl types to darwin types
- (id <MGLStyleAttributeValue>)mbgl_colorPropertyValueWith:(mbgl::style::PropertyValue<mbgl::Color>)color;
diff --git a/platform/darwin/src/NSValue+MGLStyleAttributeAdditions.mm b/platform/darwin/src/NSValue+MGLStyleAttributeAdditions.mm
index 79038a66fd..83266e7db5 100644
--- a/platform/darwin/src/NSValue+MGLStyleAttributeAdditions.mm
+++ b/platform/darwin/src/NSValue+MGLStyleAttributeAdditions.mm
@@ -37,14 +37,6 @@
return NO;
}
-- (mbgl::style::PropertyValue<uint8_t>)mbgl_enumPropertyValue
-{
- NSAssert(strcmp(self.objCType, @encode(uint8_t)) == 0, @"Value does not represent a uint8_t");
- uint8_t value = 0;
- [self getValue:&value];
- return mbgl::style::PropertyValue<uint8_t> { value };
-}
-
- (mbgl::style::PropertyValue<std::array<float, 2>>)mbgl_offsetPropertyValue
{
return { self.mgl_offsetArrayValue };
diff --git a/platform/darwin/src/NSValue+MGLStyleAttributeAdditions_Private.h b/platform/darwin/src/NSValue+MGLStyleAttributeAdditions_Private.h
index 578e0ad9c0..28a9b10908 100644
--- a/platform/darwin/src/NSValue+MGLStyleAttributeAdditions_Private.h
+++ b/platform/darwin/src/NSValue+MGLStyleAttributeAdditions_Private.h
@@ -9,9 +9,6 @@
+ (instancetype)mgl_valueWithOffsetArray:(std::array<float, 2>)offsetArray;
+ (instancetype)mgl_valueWithPaddingArray:(std::array<float, 4>)paddingArray;
-- (mbgl::style::PropertyValue<uint8_t>)mbgl_enumPropertyValue;
-- (mbgl::style::PropertyValue<std::array<float, 2>>)mbgl_offsetPropertyValue;
-
- (std::array<float, 2>)mgl_offsetArrayValue;
- (std::array<float, 4>)mgl_paddingArrayValue;