fixed: initWithCoder: called unimplemented method on the coder

This commit is contained in:
daboe01 committed 2018-03-04 21:27:08 +01:00
1 parent ad7c88fb45
commit 104f8603b9
1 file changed
+1 -1
+1 -1
View File
@@ -336,7 +336,7 @@ FIXME: Do we need this?
- (id)initWithCoder:(CPCoder)aCoder
{
return [aCoder decodeNumber];
return [aCoder decodeObjectForKey:@"self"];
}
- (void)encodeWithCoder:(CPCoder)aCoder