I accidentally replace one of the .h file in Xcode.Thus the current .h file is empty. Is there anyway i can retrieve it back as it is alot of work.
please kindly provide me with a solution.
Thank you.
finally I got my file back. my case, I lost my history of mainStoryboard. (couldn't get any history in Xcode)
solution : open your "file" as "textEditor" -> "Revert to" -> "previous save"
Xcode saves local history of the files but it provides no viewer to see them. You have to open the file with textedit and go "File", "Back to" or "Revert document option" and you will see all the previous revisions.
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