mirror of
https://github.com/darlinghq/darling-cocotron.git
synced 2024-11-23 04:00:00 +00:00
25 lines
696 B
Objective-C
25 lines
696 B
Objective-C
#import "CIBloom.h"
|
|
#import <Foundation/NSCoder.h>
|
|
#import <Foundation/NSException.h>
|
|
#import <Foundation/NSString.h>
|
|
|
|
@implementation CIBloom
|
|
|
|
- initWithCoder: (NSCoder *) coder {
|
|
if ([coder allowsKeyedCoding]) {
|
|
#if 0
|
|
// Raising keyed unarchiving exceptions, investigate
|
|
_inputRadius=[coder decodeDoubleForKey:@"CI_inputRadius"];
|
|
_inputIntensity=[coder decodeDoubleForKey:@"CI_inputIntensity"];
|
|
_enabled=[coder decodeBoolForKey:@"CI_inputRadius"];
|
|
#endif
|
|
} else {
|
|
[NSException raise: NSInvalidArgumentException
|
|
format: @"-[%@ %s] does not support non-keyed coding",
|
|
[self class], _cmd];
|
|
}
|
|
return self;
|
|
}
|
|
|
|
@end
|