In my project there was a file named view controller.xib. I deleted a button from that and an window appear I select move to trash. And after deleting that control, I can’t find my xib file. But my project is building successfully and running properly with that view. but I can’t find that file in project and also from the project directory. How can i recover that xib file.
Need Help.
Thanks.
Actually when you pressed delete button, your
file.xibwas selected from project, instead of deleting that control button, your Xib file was deleted, by clicking this dialog button.Now your file has been removed from your project. Look carefully what is being used instead that file.xib. may there is still another file under the same name, or you are using another file instead of this one.
As concerning the recovery of your file, you can have a look at these posts:
Recovery deleted files from Xcode
Accidentally deletion of classes from XCode 3.2.5