75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
|
OF_DEALLOC_UNSUPPORTED
}
@end
@implementation OFCharacterSet
+ (void)initialize
{
if (self != [OFCharacterSet class])
return;
placeholder.isa = [OFPlaceholderCharacterSet class];
}
+ (instancetype)alloc
{
if (self == [OFCharacterSet class])
return (id)&placeholder;
|
|
<
|
|
|
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
|
OF_DEALLOC_UNSUPPORTED
}
@end
@implementation OFCharacterSet
+ (void)initialize
{
if (self == [OFCharacterSet class])
object_setClass((id)&placeholder,
[OFPlaceholderCharacterSet class]);
}
+ (instancetype)alloc
{
if (self == [OFCharacterSet class])
return (id)&placeholder;
|