summaryrefslogtreecommitdiff
path: root/platform/darwin/src/NSNumber+MGLStyleAttributeAdditions_Private.h
diff options
context:
space:
mode:
Diffstat (limited to 'platform/darwin/src/NSNumber+MGLStyleAttributeAdditions_Private.h')
-rw-r--r--platform/darwin/src/NSNumber+MGLStyleAttributeAdditions_Private.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/platform/darwin/src/NSNumber+MGLStyleAttributeAdditions_Private.h b/platform/darwin/src/NSNumber+MGLStyleAttributeAdditions_Private.h
new file mode 100644
index 0000000000..73e40bb3ad
--- /dev/null
+++ b/platform/darwin/src/NSNumber+MGLStyleAttributeAdditions_Private.h
@@ -0,0 +1,13 @@
+#import <Foundation/Foundation.h>
+
+#import "MGLStyleAttributeValue.h"
+
+#include <mbgl/style/property_value.hpp>
+
+@interface NSNumber (MGLStyleAttributeAdditions_Private) <MGLStyleAttributeValue>
+
+- (mbgl::style::PropertyValue<bool>)mbgl_booleanPropertyValue;
+
+- (mbgl::style::PropertyValue<float>)mbgl_numberPropertyValue;
+
+@end