56

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.

Kevin Hirsch
  • 956
  • 1
  • 9
  • 17
Clifton Labrum
  • 13,053
  • 9
  • 65
  • 128

5 Answers5

185

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

initial view controller

rob mayoff
  • 375,296
  • 67
  • 796
  • 848
15

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.

Rick Yuan
  • 167
  • 2
  • 4
  • 8
    In Xcode 7, there is an “Is Initial View Controller” check box in the view controller's Attributes Inspector, and there is no entry point item in the Object Library. – rob mayoff Oct 08 '15 at 01:52
4

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

Bertl
  • 605
  • 5
  • 10
2

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.

Fuad Kamal
  • 1,162
  • 10
  • 14
0

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.

Ivan Zhang
  • 169
  • 2
  • 3
  • after upgraded to Xcode 6.3, the 'Is Initial View Controller' option is back. and i just found we could always drag the 'Entry Point' arrow to specify initial view controller. – Ivan Zhang May 10 '15 at 09:32