Reputation: 11
While using the interface builder in Xcode 4.1, I clicked delete twice by accident and my view in the objects window has disappeared.
Is there any way to get it back? I can't seem to find it in the project folder and I'm not using source control.
Upvotes: 0
Views: 591
Reputation: 48406
Use ⌘ - Z to undo the previous action(s). Or, under the options menu at the top, manually select "Undo".
Alternately, if you're desperate, exit IB without saving. You'll lose all changes since the last save, but if that includes a major screw-up, it may well be worth it.
If you have already exited IB, then you're pretty much screwed unless you have a back up somewhere.
Upvotes: 1