1 // 2 // RNBranchProperty.h 3 // RNBranch 4 // 5 // Created by Jimmy Dee on 1/26/17. 6 // Copyright © 2017 Branch Metrics. All rights reserved. 7 // 8 9 #import <Branch/Branch.h> 10 11 /* 12 * Utility class to represent dynamically all supported JS properties on BranchUniversalObject and BranchLinkProperties. 13 */ 14 @interface RNBranchProperty : NSObject 15 @property (nonatomic, nonnull) SEL setterSelector; 16 @property (nonatomic, nonnull) Class type; 17 18 + (instancetype _Nonnull) propertyWithSetterSelector:(SEL _Nonnull)selector type:(Class _Nonnull)type; 19 20 - (instancetype _Nonnull) initWithSetterSelector:(SEL _Nonnull)selector type:(Class _Nonnull)type NS_DESIGNATED_INITIALIZER; 21 - (instancetype _Nonnull)init NS_UNAVAILABLE; 22 23 - (BOOL)isEqual:(id _Nullable )object; 24 25 @end 26