Get memory address of Objective C object?

前端 未结 0 1679
自闭症患者
自闭症患者 2020-12-17 15:21

Is there any better way to get the memory address than this?

NSLog(@"%p", anObject);

I would rather get the plain long value.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题