benuuu
benuuu

Reputation: 761

Transitioning from XIB files to Storyboard

I currently have an XCode project that uses XIBs and would like to start using Storyboards. Is there a good way to move my XIB files into the Storyboard?

Upvotes: 13

Views: 17644

Answers (1)

Sumesh Sivan
Sumesh Sivan

Reputation: 213

You can do this manually one view controller at a time.

  1. Copy the view from xib (⌘ c).

enter image description here

  1. Go to storyboard and create a new view controller in it. Then select the view of that view controller and hit paste (⌘ v).

enter image description here

Upvotes: 1

Related Questions