Skip to content

Instantly share code, notes, and snippets.

@DonMag
Created February 26, 2016 19:38
Show Gist options
  • Save DonMag/8e416a0f49984d2d079b to your computer and use it in GitHub Desktop.
Save DonMag/8e416a0f49984d2d079b to your computer and use it in GitHub Desktop.
Interesting behavior (bug?) in Xcode / IB....
1) Create new Single View project...
2) Add a couple objects to the default ViewController in Main.storyboard...
3) Add a new Storyboard via File -> New -> File -> Storyboard...
4) Back in Main.storyboard, select either View Controller or View Controller Scene...
5) Select Edit -> Copy (or just cmd+C)
6) In the new Storyboard, try to Paste -- can't do it...
7) Drag a ViewController to the new Storyboard...
8) Now try to Paste -- it works!
Can't paste a copied scene / viewcontroller into an empty Storyboard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment