Reputation: 14158
Here's what I did in Xcode 6.0.1:
Step 1: Create a new project with a single view.
Step 2: Add an additional storyboard to the project.
Step 3: Compare the original storyboard with the newly added one. Note how there is no arrow to designate the initial view controller. I can't find a way to add one, either.
Is this expected behavior? Can you only have one initial view controller per application? I thought I could have one per storyboard.
Thanks in advance.
Upvotes: 56
Views: 33982
Reputation: 169
The Story Entry Point does not exist in Object Library in Xcode 6.x, and cannot upgrade to Xcode 6.3.x for now in china.
Upvotes: 0
Reputation: 1182
In Xcode 6, use a "Storyboard Entry Point" from the object library. Drag the control onto the View Controller you wish to designate as the initial View Controller.
Upvotes: 2
Reputation: 167
In Xcode 6.2, there is no longer an "Is Initial View Controller" checkbox in the attributes inspector. Instead, you set the initial view controller by adding the Storyboard Entry Point found in the Object Library.
Upvotes: 15
Reputation: 385988
Select the view controller, then use the “Is Initial View Controller” checkbox in the attributes inspector.
Upvotes: 186