changeset 10 | 82a37ccf6b8c |
parent 8 | 5588347dfcbd |
child 11 | e5976864dfe9 |
1.1 --- a/CollectionUtils.h Wed May 07 16:47:44 2008 -0700 1.2 +++ b/CollectionUtils.h Tue May 20 17:40:28 2008 -0700 1.3 @@ -32,6 +32,8 @@ 1.4 1.5 BOOL $equal(id obj1, id obj2); // Like -isEqual: but works even if either/both are nil 1.6 1.7 +NSString* $string( const char *utf8Str ); 1.8 + 1.9 #define $sprintf(FORMAT, ARGS... ) [NSString stringWithFormat: (FORMAT), ARGS] 1.10 1.11 #define $cast(CLASSNAME,OBJ) ((CLASSNAME*)(_cast([CLASSNAME class],(OBJ))))