读取isa,superclass

130 阅读1分钟

image.png

获取属性偏移 long offset = &(((TestClass*)0)->_shadowLayerb);