react-native-navigation 7.38.1 → 7.38.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/ios/DictionaryParser.h +2 -2
- package/lib/ios/DictionaryParser.m +2 -2
- package/lib/ios/NullDictionary.h +2 -2
- package/lib/ios/RNNBottomTabOptions.h +1 -1
- package/lib/ios/RNNDictionary.h +5 -0
- package/lib/ios/RNNDictionary.m +11 -0
- package/package.json +1 -1
- package/lib/ios/Dictionary.h +0 -5
- package/lib/ios/Dictionary.m +0 -11
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
#import "
|
|
1
|
+
#import "RNNDictionary.h"
|
|
2
2
|
#import <Foundation/Foundation.h>
|
|
3
3
|
|
|
4
4
|
@interface DictionaryParser : NSObject
|
|
5
5
|
|
|
6
|
-
+ (
|
|
6
|
+
+ (RNNDictionary *)parse:(NSDictionary *)json key:(NSString *)key;
|
|
7
7
|
|
|
8
8
|
@end
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
|
|
4
4
|
@implementation DictionaryParser
|
|
5
5
|
|
|
6
|
-
+ (
|
|
7
|
-
return json[key] ? [[
|
|
6
|
+
+ (RNNDictionary *)parse:(NSDictionary *)json key:(NSString *)key {
|
|
7
|
+
return json[key] ? [[RNNDictionary alloc] initWithValue:json[key]] : [NullDictionary new];
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
@end
|
package/lib/ios/NullDictionary.h
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
@property(nonatomic, strong) Color *iconColor;
|
|
19
19
|
@property(nonatomic, strong) Color *selectedIconColor;
|
|
20
20
|
@property(nonatomic, strong) Color *selectedTextColor;
|
|
21
|
-
@property(nonatomic, strong)
|
|
21
|
+
@property(nonatomic, strong) RNNDictionary *iconInsets;
|
|
22
22
|
@property(nonatomic, strong) Color *textColor;
|
|
23
23
|
@property(nonatomic, strong) Number *fontSize;
|
|
24
24
|
@property(nonatomic, strong) Bool *visible;
|
package/package.json
CHANGED
package/lib/ios/Dictionary.h
DELETED