diff options
Diffstat (limited to 'platform/darwin/src/NSValue+MGLStyleLayerAdditions.mm.ejs')
-rw-r--r-- | platform/darwin/src/NSValue+MGLStyleLayerAdditions.mm.ejs | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/platform/darwin/src/NSValue+MGLStyleLayerAdditions.mm.ejs b/platform/darwin/src/NSValue+MGLStyleLayerAdditions.mm.ejs deleted file mode 100644 index 758fb66546..0000000000 --- a/platform/darwin/src/NSValue+MGLStyleLayerAdditions.mm.ejs +++ /dev/null @@ -1,28 +0,0 @@ -// This file is generated. -// Edit platform/darwin/scripts/generate-style-code.js, then run `make style-code-darwin`. -<% -const enumPropertiesByLayerType = locals.enumPropertiesByLayerType; --%> - -#import "NSValue+MGLStyleLayerAdditions.h" - -<% for (let layerType in enumPropertiesByLayerType) { -%> -<% if (enumPropertiesByLayerType.hasOwnProperty(layerType)) { -%> -@implementation NSValue (MGL<%- camelize(layerType) %>StyleLayerAdditions) - -<% for (let property of enumPropertiesByLayerType[layerType]) { -%> -+ (NSValue *)valueWithMGL<%- camelize(property.name) %>:(MGL<%- camelize(property.name) %>)<%- objCName(property) %> { - return [NSValue value:&<%- objCName(property) %> withObjCType:@encode(MGL<%- camelize(property.name) %>)]; -} - -- (MGL<%- camelize(property.name) %>)MGL<%- camelize(property.name) %>Value { - MGL<%- camelize(property.name) %> <%- objCName(property) %>; - [self getValue:&<%- objCName(property) %>]; - return <%- objCName(property) %>; -} - -<% } -%> -<% } -%> -@end - -<% } -%> |