Skip to content

Commit 2b309d4

Browse files
authored
Rename Dictionary into RNNDictionary (wix#7853)
1 parent 889c88f commit 2b309d4

File tree

8 files changed

+23
-23
lines changed

8 files changed

+23
-23
lines changed

lib/ios/Dictionary.h

Lines changed: 0 additions & 5 deletions
This file was deleted.

lib/ios/Dictionary.m

Lines changed: 0 additions & 11 deletions
This file was deleted.

lib/ios/DictionaryParser.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
#import "Dictionary.h"
1+
#import "RNNDictionary.h"
22
#import <Foundation/Foundation.h>
33

44
@interface DictionaryParser : NSObject
55

6-
+ (Dictionary *)parse:(NSDictionary *)json key:(NSString *)key;
6+
+ (RNNDictionary *)parse:(NSDictionary *)json key:(NSString *)key;
77

88
@end

lib/ios/DictionaryParser.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
@implementation DictionaryParser
55

6-
+ (Dictionary *)parse:(NSDictionary *)json key:(NSString *)key {
7-
return json[key] ? [[Dictionary alloc] initWithValue:json[key]] : [NullDictionary new];
6+
+ (RNNDictionary *)parse:(NSDictionary *)json key:(NSString *)key {
7+
return json[key] ? [[RNNDictionary alloc] initWithValue:json[key]] : [NullDictionary new];
88
}
99

1010
@end

lib/ios/NullDictionary.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#import "Dictionary.h"
1+
#import "RNNDictionary.h"
22

3-
@interface NullDictionary : Dictionary
3+
@interface NullDictionary : RNNDictionary
44

55
@end

lib/ios/RNNBottomTabOptions.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
@property(nonatomic, strong) Color *iconColor;
1919
@property(nonatomic, strong) Color *selectedIconColor;
2020
@property(nonatomic, strong) Color *selectedTextColor;
21-
@property(nonatomic, strong) Dictionary *iconInsets;
21+
@property(nonatomic, strong) RNNDictionary *iconInsets;
2222
@property(nonatomic, strong) Color *textColor;
2323
@property(nonatomic, strong) Number *fontSize;
2424
@property(nonatomic, strong) Bool *visible;

lib/ios/RNNDictionary.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#import "Param.h"
2+
3+
@interface RNNDictionary : Param
4+
5+
@end

lib/ios/RNNDictionary.m

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#import "RNNDictionary.h"
2+
3+
@interface RNNDictionary ()
4+
5+
@property(nonatomic, retain) NSDictionary *value;
6+
7+
@end
8+
9+
@implementation RNNDictionary
10+
11+
@end

0 commit comments

Comments
 (0)