diff --git a/Source/Array.m b/Source/Array.m index d468a6ee6..b4b0690d4 100644 --- a/Source/Array.m +++ b/Source/Array.m @@ -62,11 +62,11 @@ /* Archiving must mimic the above designated initializer */ -- (void) _encodeCollectioinWitCoder: (Coder*)coder +- (void) _encodeCollectionWithCoder: (Coder*)coder { const char *encoding = [self contentType]; - [super encodeWithCoder:coder]; + [super _encodeCollectionWithCoder:coder]; [coder encodeValueOfSimpleType:@encode(char*) at:&encoding withName:"Array Encoding Type"]; @@ -81,7 +81,7 @@ + _newCollectionWithCoder: (Coder*)coder { char *encoding; - Array *n = [super newWithCoder:coder]; + Array *n = [super _newCollectionWithCoder:coder]; [coder decodeValueOfSimpleType:@encode(char*) at:&encoding withName:NULL];