Clifton Labrum
Clifton Labrum

Reputation: 14158

No Way to Set Initial View Controller in New Storyboard in Xcode 6

Here's what I did in Xcode 6.0.1:

Step 1: Create a new project with a single view.

enter image description here

Step 2: Add an additional storyboard to the project.

enter image description here

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.

enter image description here enter image description here

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

Answers (5)

Ivan Zhang
Ivan Zhang

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

Bertl
Bertl

Reputation: 625

"Is initial View Controller" is back in XCode 6.3.x.

Upvotes: 4

Fuad Kamal
Fuad Kamal

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

Rick Yuan
Rick Yuan

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

rob mayoff
rob mayoff

Reputation: 385988

Select the view controller, then use the “Is Initial View Controller” checkbox in the attributes inspector.

initial view controller

Upvotes: 186

Related Questions