Reputation: 33901
I started with the template Master/Detail project. I then added another ViewController
, with a xib. I'd like this view to be the one that is displayed when the app launches. The problem is I can't figure out how to add it to the Storyboard.
I can add a new empty view to the Storyboard, but I can't link it up with the ViewController
files I just created. Do I need to start again by adding a new view to the Storyboard, laying out my view there?
Upvotes: 0
Views: 10389
Reputation: 104082
Yes, it would be easiest, if you just make that new view in the storyboard. If you have a complicated view that you set up in your xib, you can copy and paste into a new controller in the storyboard (delete the empty view from the controller first). After, you've copied your view into the new controller, you can change its class to the subclass you made.
Upvotes: 1