开发者

Is it possible to find a deleted xcode file?

开发者 https://www.devze.com 2023-03-08 08:19 出处:网络
I highlighted a line of code I was going to delete after building and running the app. After I ran the app, the code was still 开发者_Go百科highlighted so I pressed delete and my entire class was dele

I highlighted a line of code I was going to delete after building and running the app. After I ran the app, the code was still 开发者_Go百科highlighted so I pressed delete and my entire class was deleted... I am an idiot...

The file did not go to the trash so I thought xcode might store it somewhere, does anyone know if it is possible to retrieve this file?


you can easily revert if you are using version control. if you are not using it (yet), you should -- worse things happen.

if you don't use version control and you use xcode's snapshots... you could look there. you may also be able to find it using Time Machine.

but... add "learn version control" to your #1 thing to learn this week for development.


I used the Disk Drill to restore mistakenly deleted files.

check http://www.cleverfiles.com/

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号