I need to archive an array(note that there's an array controller). I'm getting these errors:
That's my code:
Note that a is a NSMutableArray;
Any idea of what I did wrong?
Thanks in advanced
Code:
2010-02-26 03:57:31.168 Chiaro Tracker[36898:a0f] -[ArrayContent encodeWithCoder:]: unrecognized selector sent to instance 0x10224eb80
2010-02-26 03:57:31.169 Chiaro Tracker[36898:a0f] -[ArrayContent encodeWithCoder:]: unrecognized selector sent to instance 0x10224eb80
2010-02-26 03:57:31.179 Chiaro Tracker[36898:a0f] *** -[NSKeyedArchiver dealloc]: warning: NSKeyedArchiver deallocated without having had -finishEncoding called on it.
That's my code:
Code:
[NSKeyedArchiver archivedDataWithRootObject:a];
Note that a is a NSMutableArray;
Any idea of what I did wrong?
Thanks in advanced