From fd42584ed15dbf9ca4a118102bf5eb71685918dd Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Wed, 21 May 2008 21:47:28 -0400 Subject: [PATCH] Removing the NSCoder methods of the Word class * Source/Word.m: (-[initWithCoder:]): Removed (-[encodeWithCoder:]): Removed --- Source/Word.m | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/Source/Word.m b/Source/Word.m index 6ce397a..918eb79 100644 --- a/Source/Word.m +++ b/Source/Word.m @@ -46,26 +46,6 @@ [super dealloc]; } -/** - * Initialize an object from a keyed archive - */ -- (id)initWithCoder:(NSCoder *)coder -{ - self = [super init]; - word = [[coder decodeObjectForKey:@"KAWord"] retain]; - alphagram = [[coder decodeObjectForKey:@"KAAlphagram"] retain]; - return self; -} - -/** - * Encodes an object for serialization in a keyed archiver - */ -- (void)encodeWithCoder:(NSCoder *)coder -{ - [coder encodeObject:word forKey:@"KAWord"]; - [coder encodeObject:alphagram forKey:@"KAAlphagram"]; -} - /** * Returns the word */ -- 2.43.5