xcode does not create storyboard

0

Someone knows why my xcode when creating a single view application, it does not create the storyboard, I'm starting now and in class the iphone app screen is done la, but in my only appears a main storyboard, when I run the application nothing appears, just the name of the project. Anyone know:

    
asked by anonymous 13.10.2014 / 22:53

3 answers

0

As mentioned by Douglas Ferreira o Xcode 6 includes Size Classes and that's enough storyboarding, but that does not stop you from use multiple storyboards, XIBs or even mix them up!

To create a new file, simply do ⌘ + N , select User Interfaces in iOS and choose User Interface and do not forget to set it in General in the project settings.

If nothing appears guarantee that

  • The correct User Interface is selected
  • Included items are in a visible region
  • You are looking at the View Controller in the Interface Builder
16.01.2015 / 04:05
1

From what I understand it seems to be all right. When a Single View Application is created your project already comes with a Storyboard and this is called Main.storyboard .

But even if you want to create a new Storyboard just go to File > New > File... > User Interface > Storyboard .

    
14.10.2014 / 01:55
0

The Main.storyboard file must be located in the project, if you are not creating New File > > User Interface > > Storyboard

When you use the storyboard you can do it as follows:

ViewController *viewController = [[UIStoryboard storyboardWithName:@"Main" bundle:[NSBundle mainBundle]] instantiateViewControllerWithIdentifier:@"storyboardID"];

When you click on the ViewController within your storyboard file, set the ID, as the image below:

    
29.10.2014 / 18:51