How 开发者_Python百科to convert from NSMutableArray to NSMutableData ?
You can use NSArchiver archivedDataWithRootObject:
NSData *data = [NSArchiver archivedDataWithRootObject:myMutableArray];
NSMutableData* mutableData = [data mutableCopy];
How 开发者_Python百科to convert from NSMutableArray to NSMutableData ?
You can use NSArchiver archivedDataWithRootObject:
NSData *data = [NSArchiver archivedDataWithRootObject:myMutableArray];
NSMutableData* mutableData = [data mutableCopy];
上一篇:吃香菜能去斑吗?
精彩评论