308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
|
if (class == Nil)
return YES;
if (object == nil)
return NO;
for (iter = object->isa; iter != Nil; iter = class_getSuperclass(iter))
if (iter == class)
return YES;
return NO;
}
static uint8_t
|
>
|
|
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
|
if (class == Nil)
return YES;
if (object == nil)
return NO;
for (iter = object_getClass(object); iter != Nil;
iter = class_getSuperclass(iter))
if (iter == class)
return YES;
return NO;
}
static uint8_t
|