From 104f8603b973748f1d126522ccf5d798d925b233 Mon Sep 17 00:00:00 2001 From: daboe01 Date: Sun, 4 Mar 2018 21:27:08 +0100 Subject: [PATCH] fixed: initWithCoder: called unimplemented method on the coder --- Foundation/CPNumber.j | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Foundation/CPNumber.j b/Foundation/CPNumber.j index 4aec997f5..ef641b1ec 100644 --- a/Foundation/CPNumber.j +++ b/Foundation/CPNumber.j @@ -336,7 +336,7 @@ FIXME: Do we need this? - (id)initWithCoder:(CPCoder)aCoder { - return [aCoder decodeNumber]; + return [aCoder decodeObjectForKey:@"self"]; } - (void)encodeWithCoder:(CPCoder)aCoder