我需要归档一个由 ArrayController 控制的 NSMutableArray。我试过这个:
[NSKeyedArchiver archivedDataWithRootObject:array];
但我得到了这个错误:
*** -[NSKeyedArchiver dealloc]: warning: NSKeyedArchiver deallocated without having had -finishEncoding called on it.
请问我该如何解决?
我需要归档一个由 ArrayController 控制的 NSMutableArray。我试过这个:
[NSKeyedArchiver archivedDataWithRootObject:array];
但我得到了这个错误:
*** -[NSKeyedArchiver dealloc]: warning: NSKeyedArchiver deallocated without having had -finishEncoding called on it.
请问我该如何解决?