changeset 32 | 222393534845 |
parent 29 | 8874aff14cc9 |
child 33 | d52f6b0d94be |
1.1 --- a/CollectionUtils.m Sun May 10 18:57:43 2009 -0700 1.2 +++ b/CollectionUtils.m Wed May 20 08:34:04 2009 -0700 1.3 @@ -290,6 +290,16 @@ 1.4 1.5 1.6 1.7 +@implementation NSData (MYUtils) 1.8 + 1.9 +- (NSString*) my_UTF8ToString { 1.10 + return [[[NSString alloc] initWithData: self encoding: NSUTF8StringEncoding] autorelease]; 1.11 +} 1.12 + 1.13 +@end 1.14 + 1.15 + 1.16 + 1.17 #import "Test.h" 1.18 1.19 TestCase(CollectionUtils) {