I have an array of unichars i need to convert it to nsstring. How can i do this?
+4
A:
NSString
has a method for that:
+ (id)stringWithCharacters:(const unichar *)chars length:(NSUInteger)length
robinjam
2010-06-24 02:05:42
Oh, I think this is better than mine
vodkhang
2010-06-24 02:06:09
@vodkhang: it is, yours will fail since the unichar is 16-bits wide
Jason Coco
2010-06-24 02:09:42
A:
Have you tried reading the "NSString Class Reference"?
Look at stringWithCharacters:length:
Frank C.
2010-06-24 02:05:54