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?
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.
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.
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.
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:
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With