Tycho Pandelaar
Tycho Pandelaar

Reputation: 7535

Copying files in 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.

Upvotes: 5

Views: 9162

Answers (4)

Bjorn
Bjorn

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

Will
Will

Reputation: 3044

Go to where it is stored locally. Then you can copy it from there.

Upvotes: 0

Tony van der Peet
Tony van der Peet

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

Felix Kling
Felix Kling

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

Related Questions