Use -[isMemberOfClass:] instead of object_getClass