Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Copying files in Xcode

Tags:

file

copy

xcode

I've created some files in Xcode. Now I want to copy some of them. How should I do that?

Currently, I copy them in Finder & copy those back into Xcode in order to work on them. There must be a better way.

like image 614
Tycho Pandelaar Avatar asked Dec 12 '09 17:12

Tycho Pandelaar


2 Answers

I think (not on my Mac at the moment so this may be totally wrong) that "Add files to project" has an option for copying the files from their source location. At least, I recall doing this at some stage.

like image 169
Tony van der Peet Avatar answered Sep 21 '22 14:09

Tony van der Peet


Right click -> show in finder -> select file in finder -> right click -> select "Duplicate" menu

Edit: Previous answer was wrong, fixed in comments, thus the downvotes. Fixed now though.

like image 39
Bjorn Avatar answered Sep 24 '22 14:09

Bjorn