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.
我找到了这段代码:
关联
它显示了一个关于当前 UIViewController 类的标签。
cocos2d如何实现类似的东西?子类化很容易,但类别很难。如果我对现有项目使用子类化,那么它会导致很多文件发生很多变化。