开发者

How do I convert an NSMutableString into a regular NSString?

开发者 https://www.devze.com 2023-02-01 02:09 出处:网络
How can I convert a NSMutable String into a regular NSString开发者_C百科?Try [NSString stringWithString: yourMutableString][aMutableString copy]

How can I convert a NSMutable String into a regular NSString开发者_C百科?


Try [NSString stringWithString: yourMutableString]


[aMutableString copy]

will return a NSString.

0

精彩评论

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