I have several UIViewControllers
in one Storyboard. Now I want to move some UIViewControllers
to another Storyboard. Is it possible?
You have to right click in your project navigator and create a new file. Select "Cocoa Touch Class" and create a subclass of UIViewController. Just for clarity - The view controller gets copied exactly on top of the existing view controller. You need to drag it from on top of it.
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.
press Command+C (copy) then Command+V (paste). Show activity on this post. The new command is Shift+Command+S . You can also optionally click File and then Duplicate .
Yes, it is possible.
Note: "IBOutlets remains as is after copying(Verified on Xcode 6.3.2)."
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