开发者

Aghhh!!! I lost interface builder to code [closed]

开发者_运维问答 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 10 years ago.

So this is probably a noob question, but my interface builder turned into red code. I think the "version editor" somehow did it, but I just want it back. I am a noob and can't write the interface in code. Any help?


You mean in the left pane that lists your files, the .xib filename turned red? That means the file is gone, and usually XCode didn't do it, or it would have removed it from the list too. Maybe you deleted it from the file system, maybe it was done by a version control system as you are suggesting. If you have it in a version control system you should be able to get back the last version of it.

If all else fails, File > New > New File. Choose User Interface under iOS, and pick usually View. Re-create your interface using Interface Builder from scratch.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜