Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法在 LLDB 中找出对象的类,而对象本身由id. 类似的东西isKindOfClass,它返回它实际上是什么类,而不仅仅是id.
id
isKindOfClass
它似乎po [myObject class]有效。如果有人有更好的解决方案,请发布。
po [myObject class]