Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do storyboards work in iOS 5?

I can't seem to figure out how they work. Please help! I can't figure out how to add .xib's to them either.

like image 953
TomLisankie Avatar asked Jul 12 '11 03:07

TomLisankie


People also ask

What is a storyboard in iOS?

A storyboard is a visual representation of the user interface of an iOS application, showing screens of content and the connections between those screens.

Should you use storyboards iOS?

Absolutely. I always use them nowadays – I like to be able to see the screens and flow through my app, and I like to be able to create static table views without a line of code.

How do you edit storyboard on Iphone?

In Xcode 9.2, simply go to your Storyboard and go to the bottom, Click View As and choose a device you like.


4 Answers

Maybe a tutorial would help you. This one seems to be quite simple and it has screenshots.

Edit: @Andz recommends this tutorial, which is a bit more beginner-friendly.

like image 131
Blender Avatar answered Sep 28 '22 21:09

Blender


Apple provided a nice walkthrough in their "developer tools kickoff" video from WWDC. I found it helpful. If you're a registered developer, you can check it out here: https://developer.apple.com/videos/wwdc/2011/#developer-tools-kickoff

like image 43
Mark Armstrong Avatar answered Sep 28 '22 22:09

Mark Armstrong


I have just created my own tutorial that outlines some of the new features of Storyboards check it out here http://www.scott-sherwood.com/?p=219. The WWDC video is a very good tutorial but there are somethings it doesn't cover, such as simple things like how do you set the entry point of your Storyboard,or how to get a handle to a popover that has been created by a Segue popover transition

I have also added a new practical example based on todo list that should help people build a deeper understanding please check it out.

like image 7
Scott Sherwood Avatar answered Sep 28 '22 21:09

Scott Sherwood


Apple recently released (Jan, 2012) an example app with source code that uses Storyboards titled "Your Second iPhone App."

https://developer.apple.com/library/ios/#documentation/iPhone/Conceptual/SecondiOSAppTutorial/Introduction/Introduction.html

like image 4
Joe Masilotti Avatar answered Sep 28 '22 23:09

Joe Masilotti