开发者

How to convert from NSMutableArray to NSMutableData?

How 开发者_Python百科to convert from NSMutableArray to NSMutableData ?


You can use NSArchiver archivedDataWithRootObject:

NSData *data = [NSArchiver archivedDataWithRootObject:myMutableArray];
NSMutableData* mutableData = [data mutableCopy];
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜