MRTKeyValuePair

@interface MRTKeyValuePair : NSObject

Universal key-value data.

Summary

Class methods

+ (nonnull MRTKeyValuePair *)keyValuePairWithKey:(nonnull NSString *)key
                                           value:(nonnull NSString *)value;

Properties

@property (nonatomic, readonly, nonnull) NSString *key;
Data key

@property (nonatomic, readonly, nonnull) NSString *value;
Data value

Class methods

keyValuePairWithKey:value:

+ (nonnull MRTKeyValuePair *)keyValuePairWithKey:(nonnull NSString *)key
                                           value:(nonnull NSString *)value;


Properties

key

@property (nonatomic, readonly, nonnull) NSString *key;

Data key. For example, "currency".


value

@property (nonatomic, readonly, nonnull) NSString *value;

Data value. For example, "USD".