From 06601ba5dfd6c2da2b6ba52a7041b1b1c0989a69 Mon Sep 17 00:00:00 2001 From: Ross Boucher Date: Thu, 22 Jan 2009 00:46:39 -0800 Subject: [PATCH] Error in the CPCountedSet archiving code. Removing for now, will reattack later. --- Foundation/CPCountedSet.j | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/Foundation/CPCountedSet.j b/Foundation/CPCountedSet.j index adbb41b4e..80cae049a 100644 --- a/Foundation/CPCountedSet.j +++ b/Foundation/CPCountedSet.j @@ -79,27 +79,4 @@ Eventually we should see what these are supposed to do, and then do that. */ - -@end - -var CPCountedSetCountsKey = @"CPCountedSetCountsKey"; - -@implementation CPSet (CPCoding) - -- (id)initWithCoder:(CPCoder)aCoder -{ - self = [super initWithCoder:aCoder]; - - if ([aCoder containsObjectForKey:CPCountedSetCountsKey]) - _counts = [aCoder objectForKey:CPCountedSetCountsKey]; - - return self; -} - -- (void)encodeWithCoder:(CPCoder)aCoder -{ - [super encodeWithCoder:aCoder]; - [aCoder encodeObject:_counts forKey:CPCountedSetCountsKey]; -} - @end