Reputation: 7535
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.
Upvotes: 5
Views: 9162
Reputation: 71940
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.
Upvotes: 3
Reputation: 824
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.
Upvotes: 4
Reputation: 817030
Do you want to copy them between two projects? If so, open both projects and just drag the files out of the 'Groups & Files' view to the other project.
Or maybe this question helps you.
Upvotes: 0