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.
我想知道如何在我现有的项目中为 xcode 5 中的新视图控制器添加 .h 和 .m 文件。在 xcode 5.0 中没有创建 UIViewSubClass 的选项。谢谢。
Select your project--->click on New File----> Select Objective-C class, then click on next button, you will see the class and subclass of....
您可以按照上述步骤创建一个新类。我认为这对你会有帮助。