Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Recovering Accidental Storyboard Deletion

Tags:

xcode4

I tried looking for the answer but didn't find it.

I accidentally deleted my storyboard in XCode4. Is there anyway that I can retrieve it? I looked in the trash can but there was nothing there.

Thanks for your help!

UPDATE: Even though I deleted the storyboard, I've noticed that the compiler still compiles and runs the program and has all the same UIButtons and UILabels with the correct sizes, text labels, and positioning. All as if it never was deleted! Im guessing that the information is still there somewhere! does anyone know if there is perhaps a copy saved within xcode somewhere that i can used to recreate the storyboard file?

like image 879
Moose Avatar asked Jan 31 '12 21:01

Moose


People also ask

How do I delete a storyboard view?

To delete the View Controller from the storyboard, select the View Controller by clicking the Show Document Outline icon and then clicking on View Controller Scene in the Document Outline. Then press Backspace or choose Edit > Delete.

What should I do if I accidentally deleted a file?

There are a few things to do as soon as you realize the file was accidentally deleted to increase the odds of recovering it. Don’t make, copy, move, delete, or edit any more files. Exit all programs, including any programs running in the system tray.

How to recover accidentally deleted files from Recycle Bin?

Figure 2: Recover accidentally deleted files from Recycle Bin in Windows 10. Go to Desktop and open the ‘Recycle Bin’ folder. Find the lost file in the Recycle Bin folder. Right-click on the file or the folder, and select ‘Restore.’. The file or the folder will be restored to its original location.

How to recover deleted files from corrupted and formatted drive?

Deep scanning scans each sector on the drive and recovers the lost and deleted files from any Windows media, including corrupted and formatted drives. You can also preview the recovered files such as images, documents, video, and audio before saving them. Here are some best practices you can follow to secure your deleted files from permanent loss:

How to recover lost or deleted data from computer?

Data loss is the most common mishap and there is no escape from the same. The only solution is to employ the right approach to recover your lost data. Indeed, the first sure-shot solution to recover the lost or deleted data is Backup.


1 Answers

If it popped up that means you can find it in your project folder. Just look in /projectName/projectName/Base.lproj. The storyboard is there. You can drag it into Xcode and its as good as new.

like image 98
Liam Avatar answered Sep 21 '22 18:09

Liam