意外删除了Main.Storyboard [英] Accidentally deleted Main.Storyboard
问题描述
我试图按照Udacity类中的说明进行操作,当我这样做时,它删除了项目导航器中的Main.Storyboard文件(我认为文件本身并未被删除)。我阅读了弹出窗口,但是却发现了删除按钮,而不是退出。我怎样才能找回来?
注意:我对编程非常陌生,仅供参考...
I was trying to follow directions in a Udacity class and when I did, it deleted the Main.Storyboard file in the project navigator (I don't think the file itself was deleted). I read the popup but fat-fingered the delete button instead of backing out. How can I get it back? Note: I am extremely new to programming, FYI...
推荐答案
我刚刚想到这一点我自己的。如果其他人遇到此问题:
单击文件/打开,导航到您的程序文件夹,找到Base.lproj,打开Main.storyboard。如果文件不存在,您可能已删除并需要从回收站中恢复它。
I just happened to figure this out on my own. In case anyone else runs into this issue: Click file/open, navigate to your program folder, find Base.lproj, open Main.storyboard. If the file isn't there, you probably deleted and need to restore it from the recycling bin.
这篇关于意外删除了Main.Storyboard的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!