开发者

How to convert from NSMutableArray to NSMutableData?

开发者 https://www.devze.com 2022-12-28 22:14 出处:网络
How 开发者_Python百科to convert from NSMutableArray to NSMutableData ?You can use NSArchiver archivedDataWithRootObject:

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


You can use NSArchiver archivedDataWithRootObject:

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

精彩评论

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