0
當我創建iOS中一個新的項目,我得到默認視圖控制器類的名字,叫做ViewController
我使用xcode7,當我嘗試改變類名ViewControllerSomething它告訴我Xcode7不支持那(還)。改變第一的ViewController
我的問題,我如何手動修改類的名稱?
我試了一下:
- 更改文件名
- 改類名稱本身 - >現在我得到一個編譯警告
2016-01-28 13:17:41.877 TestPRJ[1400:491868] Unknown class ViewControllerCategories in Interface Builder file.
- 試圖修改對Main.storyboard和LaunchScreen.storyboard中的ViewController的引用(作爲源代碼打開)。 現在,我得到一個編譯錯誤:
/Users/itaymoav/Desktop/playworkspace/TestPRJ/TestPRJ/Base.lproj/LaunchScreen.storyboard: The document "LaunchScreen.storyboard" could not be opened. Could not verify document content.