12345678910111213141516171819 |
- #import "RNNSideMenuSideOptions.h"
-
- @implementation RNNSideMenuSideOptions
-
- - (instancetype)initWithDict:(NSDictionary *)dict {
- self = [super init];
-
- self.visible = [BoolParser parse:dict key:@"visible"];
- self.enabled = [BoolParser parse:dict key:@"enabled"];
-
- self.width = [DoubleParser parse:dict key:@"width"];
-
- self.animationType = [TextParser parse:dict key:@"animationType"];
-
- return self;
- }
-
- @end
|