How to duplicate a .xib file?

Shai UI picture Shai UI · Nov 16, 2010 · Viewed 10.6k times · Source

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.]

Answer

Ryan Heitner picture Ryan Heitner · Feb 21, 2015

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.