0

I need to save NSOrderedSet as a container for an inner NSDictionary objects. I tried to save the set to plist, but this class can't be saved here. Are there any other way to save it easily and don't go to Core Data jungle?

4

3 に答える 3

1

NSOrderedSet- (NSArray *)array メソッドを使用して配列オブジェクトを取得し、NSArray の を使用- (BOOL)writeToFile:(NSString *)path atomically:(BOOL)flagして plist ファイルに書き込みます

于 2014-02-17T18:55:13.493 に答える