Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

fernandovalente

macrumors 6502
Original poster
I need to archive an array(note that there's an array controller). I'm getting these errors:

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
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.