| 1 |
#ifndef OBJC_LITERAL_SUPPORT_H |
| 2 |
#define OBJC_LITERAL_SUPPORT_H |
| 3 |
|
| 4 |
typedef unsigned char BOOL; |
| 5 |
|
| 6 |
@interface NSNumber @end |
| 7 |
|
| 8 |
@interface NSNumber (NSNumberCreation) |
| 9 |
+ (NSNumber *)numberWithChar:(char)value; |
| 10 |
+ (NSNumber *)numberWithUnsignedChar:(unsigned char)value; |
| 11 |
+ (NSNumber *)numberWithShort:(short)value; |
| 12 |
+ (NSNumber *)numberWithUnsignedShort:(unsigned short)value; |
| 13 |
+ (NSNumber *)numberWithInt:(int)value; |
| 14 |
+ (NSNumber *)numberWithUnsignedInt:(unsigned int)value; |
| 15 |
+ (NSNumber *)numberWithLong:(long)value; |
| 16 |
+ (NSNumber *)numberWithUnsignedLong:(unsigned long)value; |
| 17 |
+ (NSNumber *)numberWithLongLong:(long long)value; |
| 18 |
+ (NSNumber *)numberWithUnsignedLongLong:(unsigned long long)value; |
| 19 |
+ (NSNumber *)numberWithFloat:(float)value; |
| 20 |
+ (NSNumber *)numberWithDouble:(double)value; |
| 21 |
+ (NSNumber *)numberWithBool:(BOOL)value; |
| 22 |
@end |
| 23 |
|
| 24 |
@interface NSArray |
| 25 |
@end |
| 26 |
|
| 27 |
@interface NSArray (NSArrayCreation) |
| 28 |
+ (id)arrayWithObjects:(const id [])objects count:(unsigned long)cnt; |
| 29 |
@end |
| 30 |
|
| 31 |
@interface NSDictionary |
| 32 |
+ (id)dictionaryWithObjects:(const id [])objects forKeys:(const id [])keys count:(unsigned long)cnt; |
| 33 |
@end |
| 34 |
|
| 35 |
#endif // OBJC_LITERAL_SUPPORT_H |