[Pythonmac-SIG] NSKeyedArchiver and NSMutableArray

2007-07-17 Thread Jim Matthews
I'm trying to learn PyObjC by translating the examples in Aaron Hillegass's "Cocoa Programming for Mac OS X" to Python. I've run into a problem with the archiving feature described in chapter 8. I have an NSMutableArray of Person objects, where Person is a subclass of NSObject. I can turn th

Re: [Pythonmac-SIG] NSKeyedArchiver and NSMutableArray

2007-07-17 Thread Nehemiah Dacres
if im not mistaken, coder is a parameter also. I don have my book with me, if it works in objective c post the equivilant code in objc and i can work from there. I remember most of this excersize. I thought coder is the datatype of the object you're coding fore (id). "lalalalala! it's not broken

Re: [Pythonmac-SIG] NSKeyedArchiver and NSMutableArray

2007-07-17 Thread Jim Matthews
To answer my own question, the problem was that my initWithCoder_ method was not returning self. Bugs definitely become more obvious *after* you post the code for the rest of the world to see :). Thanks, -- Jim Matthews Fetch Softworks http://fetchsoftworks.com