I have a folder on my desktop called "books.code" where I put all the book sample codes downloaded from net.
Today I tried to add some existing image files from an example code, but accidentally selected the "books.code" folder while navigating down the path. It took a while for XCode to add it - as it "faithfully" added the whole folder. Well, I just as usual, click the folder in XCode and delete. Then I noticed SHIT! It's deleting the whole book sample code folder WTF!.....
Shouldn't the default behaviour for adding external file be "create an extra copy" ??!!
Any way, has to be more careful with "delete" and adding external file next time.