Where is the story board?

Discussion in 'iPhone/iPad Programming' started by farmerdoug, Sep 21, 2012.

  1. macrumors 6502a

    Joined:
    Sep 16, 2008
    Messages:
    541
    #1
    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
     
  2. macrumors regular

    Joined:
    Feb 4, 2011
    Messages:
    147
    #2
    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.
     
  3. macrumors 6502a

    Joined:
    Sep 16, 2008
    Messages:
    541
    #3
    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?
     
  4. Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Messages:
    15,045
    Location:
    The Centennial State
    #4
    I'm confused.

    First you say:
    Then you say:
    Are you looking for the storyboard in the app you wrote or in the app you downloaded? Or what?
     
  5. macrumors 603

    ArtOfWarfare

    Joined:
    Nov 26, 2007
    Messages:
    6,245
    #5
    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.
     

Share This Page