Hi


I made a subclass of NSUnarchiver. In my subclass's -init method, I initialize some instance variables. Unfortunately, my -init method gets never calld, because of


NSUnarchiver.m:415:

- (id) initForReadingWithData: (NSData*)anObject
{
        …
        self = [super init];
        …
}


It would get called, if this line would be replaced with:


self = [self init];


Apart from the fact, that init should get called by convention, NSUnarchiver doesn't have an -init method of its own. So there shouldn't be any obstacles anyway.



Thanks for having a look at this. Phil



_______________________________________________
Bug-gnustep mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to