PDA

View Full Version : Where is the story board?




farmerdoug
Sep 21, 2012, 09:37 AM
I wrote an application the included a story board; I downloaded an application that has a story board but there is no .storyboard file. Where do I look? I take it it's generated in the OverlayViewController.

thanks



multinode
Sep 25, 2012, 12:29 AM
Hi ...

Look for a directory called en.lproj where your source files are. Inside that directory is a file called MainStoryboard.storyboard. You can thusly see it in Finder.

Go to the menu: View/Navigators/ShowProjectNavigator. This way you can see the same storyboard file inside your project.

farmerdoug
Sep 25, 2012, 05:46 AM
Thanks but I don't think that's the right answer. I think code was from a verison that used something other that storyboard.
Possible?

dejo
Sep 25, 2012, 08:47 AM
I'm confused.

First you say:
I wrote an application the included a story board

Then you say:
I downloaded an application that has a story board

Are you looking for the storyboard in the app you wrote or in the app you downloaded? Or what?

ArtOfWarfare
Sep 25, 2012, 12:50 PM
I think code was from a verison that used something other that storyboard.
Possible?

Yes, it's possible that they used a file type other than storyboard for building their interface. They may have used files with an extension of .nib (if it's really old,) or .xib (newer.)

The drawback with nibs/xibs is that each file can only contain a single view controller (or screen or scene or whatever you want to call it.) As a result, a lot of inter-vc communication has to be written in code. But storyboards were only introduced a year ago, so lots of sample code will still have .xibs.