Xcode - duplicate Storyboard scene
Is there a quick way to duplicate a scene in Xcode's storyboard editor?
I'm looking for something akin to using option-drag to duplicate UI elements (UIButton
, etc.) within a scene (or nib file). Copy-paste works, but awkwardly.
I'm just using Command + D (Duplicate) for now, as it (AFAIK) is essentially a one-step copy-paste, and dealing with the bug.
You can duplicate views if you drag them with ALT key. it does quickly
Select the ViewController you want to duplicate. press Command+C
(copy) then Command+V
(paste).