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.
有没有办法找到参与给定应用程序或同一命名空间下的所有类?
运行时函数objc_getClassList()将列出为程序注册的所有类。Objective-C 没有命名空间。(就像任何阅读者的注释:这几乎不是你应该想做的事情。)
objc_getClassList()