Source

BWToolkit / BWTransparentCheckbox.m

Diff from to

BWTransparentCheckbox.m

 
 @implementation BWTransparentCheckbox
 
-+ (Class)cellClass
-{
-	return [BWTransparentCheckboxCell class];
-}
-
-- (id)initWithCoder:(NSCoder *)decoder
-{
-	// Fail gracefully on non-keyed coders
-	if (![decoder isKindOfClass:[NSKeyedUnarchiver class]])
-		return [super initWithCoder:decoder];
-	
-	NSKeyedUnarchiver *coder = (NSKeyedUnarchiver *)decoder;
-	Class oldClass = [[self superclass] cellClass];
-	Class newClass = [[self class] cellClass];
-	
-	[coder setClass:newClass forClassName:NSStringFromClass(oldClass)];
-	self = [super initWithCoder:coder];
-	[coder setClass:oldClass forClassName:NSStringFromClass(oldClass)];
-	
-	return self;
-}
-
 @end