120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
|
@implementation OFColor
+ (void)initialize
{
if (self != [OFColor class])
return;
placeholder.isa = [OFColorPlaceholder class];
#ifdef OF_OBJFW_RUNTIME
colorTag =
objc_registerTaggedPointerClass([OFTaggedPointerColor class]);
#endif
}
+ (instancetype)of_alloc
|
|
|
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
|
@implementation OFColor
+ (void)initialize
{
if (self != [OFColor class])
return;
object_setClass((id)&placeholder, [OFColorPlaceholder class]);
#ifdef OF_OBJFW_RUNTIME
colorTag =
objc_registerTaggedPointerClass([OFTaggedPointerColor class]);
#endif
}
+ (instancetype)of_alloc
|