-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNSDictionaryExtension.h
More file actions
31 lines (22 loc) · 868 Bytes
/
NSDictionaryExtension.h
File metadata and controls
31 lines (22 loc) · 868 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
//
// NSDictionaryExtension.h
//
// Licensed by ruralcoder.com under the
// Creative Commons Attribution-ShareAlike 3.0 Unported License
#import <Foundation/Foundation.h>
@interface NSDictionary (Extension)
- (BOOL) containsKey:(id)key;
- (BOOL) containsDictionaryForKey:(id)key;
- (NSString*) stringWithDelimeter:(NSString*)delimiter andKeyValueSeperator:(NSString*)seperator;
- (NSString*) stringWithDelimeter:(NSString*)delimiter andKeyValueSeperator:(NSString*)seperator urlEncode:(BOOL)encode;
- (NSDictionary*) dictionaryForKey:(id)key;
- (NSArray*) arrayForKey:(id)key;
- (BOOL) boolForKey:(id)key;
- (NSInteger) integerForKey:(id)key;
- (NSUInteger) unsignedIntegerForKey:(id)key;
- (float) floatForKey:(id)key;
- (double) doubleForKey:(id)key;
- (NSString*) stringForKey:(id)key;
- (NSURL*) urlForKey:(id)key;
- (id) utcDateForKey:(id)key;
@end