NSMutableDictionary(GCKAdditions) Category Reference
Overview
A category that adds some convenience methods to NSDictionary for setting values of various types.
These methods are particularly useful for getting and setting fields of JSON data objects.
Instance Method Summary | |
(void) | - gck_setStringValue:forKey: |
Sets an NSString value for a key. More... | |
(void) | - gck_setIntegerValue:forKey: |
Sets an NSInteger value for a key. More... | |
(void) | - gck_setUIntegerValue:forKey: |
Sets an NSUInteger value for a key. More... | |
(void) | - gck_setDoubleValue:forKey: |
Sets a double value for a key. More... | |
(void) | - gck_setBoolValue:forKey: |
Sets a BOOL value for a key. More... | |
Method Detail
- (void) gck_setStringValue: | (NSString *) | value | |
forKey: | (NSString *) | key | |
Sets an NSString value for a key.
- Parameters
-
value The value. key The key.
- (void) gck_setIntegerValue: | (NSInteger) | value | |
forKey: | (NSString *) | key | |
Sets an NSInteger value for a key.
- Parameters
-
value The value. key The key.
- (void) gck_setUIntegerValue: | (NSUInteger) | value | |
forKey: | (NSString *) | key | |
Sets an NSUInteger value for a key.
- Parameters
-
value The value. key The key.
- (void) gck_setDoubleValue: | (double) | value | |
forKey: | (NSString *) | key | |
Sets a double value for a key.
- Parameters
-
value The value. key The key.
- (void) gck_setBoolValue: | (BOOL) | value | |
forKey: | (NSString *) | key | |
Sets a BOOL value for a key.
- Parameters
-
value The value. key The key.