Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to duplicate a .xib file?

I see there's no "duplicate" when I right click on a .xib. So is the way to do it: just to go to finder, copy the file to another name, and then drag it to my resources? Would that be all I'd need to do?

[Note: just wondering if there's other files or settings I need to bother with.]

like image 378
Shai UI Avatar asked Nov 16 '10 02:11

Shai UI


2 Answers

The best way to do this is use cmd ⌘ ,shift, s on the xib or storyboard. Then save it with a new name or location.

like image 177
Ryan Heitner Avatar answered Sep 24 '22 18:09

Ryan Heitner


Yes, that's most of what's needed. Make sure to open the nib file and verify that the connections are as you want them to be. It will act like any file you duplicate. Just give it an original name and make sure it's saved in the correct folder before you import it into the project.

like image 25
W Dyson Avatar answered Sep 21 '22 18:09

W Dyson