开发者

Objective C ==> unichar[] to NSString?

开发者 https://www.devze.com 2023-01-05 00:58 出处:网络
I have an array of unichars i need to c开发者_高级运维onvert it to nsstring. How can i do this?NSString has a method for that:

I have an array of unichars i need to c开发者_高级运维onvert it to nsstring. How can i do this?


NSString has a method for that:

+ (id)stringWithCharacters:(const unichar *)chars length:(NSUInteger)length

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号