1 #ifndef OBJC_LITERAL_SUPPORT_H
2 #define OBJC_LITERAL_SUPPORT_H
4 typedef unsigned char BOOL
;
6 @interface NSNumber @end
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
;
27 @interface
NSArray (NSArrayCreation
)
28 + (id
)arrayWithObjects
:(const id
[])objects count
:(unsigned long)cnt
;
31 @interface NSDictionary
32 + (id
)dictionaryWithObjects
:(const id
[])objects forKeys
:(const id
[])keys count
:(unsigned long)cnt
;
35 #endif // OBJC_LITERAL_SUPPORT_H