Is there a way to copy & paste/duplicate the View Controller Scene in Xcode using the Interface Builder and not code?
press Command+C (copy) then Command+V (paste).
For example, if you have a view controller, you can select it then copy by going to Edit -> Copy or cmdC. Then you can paste it by going to Edit -> Paste or cmdV.
In Interface Builder
, instead of trying to copy/paste directly from the visual representation of your ViewController
, do it from the list on the left.
The new View Controller will be pasted right on top of the original one.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With