<%
  const layers = locals.layers;
-%>
// DO NOT MODIFY
// THIS FILE IS AUTOGENERATED

#import "RCTMGLStyle.h"
#import "RCTMGLStyleValue.h"
#import <React/RCTBridge.h>

@import Mapbox;

@interface RCTMGLStyle : NSObject

@property (nonatomic, weak) RCTBridge *bridge;
@property (nonatomic, strong) MGLStyle *style;

- (id)initWithMGLStyle:(MGLStyle*)mglStyle;

<%_ for (const layer of layers) { _%>
- (void)<%- setLayerMethodName(layer, 'ios') -%>:(<%- getLayerType(layer, 'ios') -%> *)layer withReactStyle:(NSDictionary *)reactStyle;
<%_ } _%>

<%_ for (const layer of layers) { _%>
<%_ for (const prop of layer.properties) { _%>
- (void)set<%- iosPropMethodName(layer, pascelCase(prop.name)) -%>:(<%- getLayerType(layer, 'ios') -%> *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
<%_ if (prop.transition) { _%>
- (void)set<%- iosPropMethodName(layer, pascelCase(prop.name)) -%>Transition:(<%- getLayerType(layer, 'ios') -%> *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
<%_ } _%>
<%_ } _%>
<% } %>

@end
