Interface builder/tab navigation controller

Discussion in 'iOS Programming' started by CrAkD, Jun 16, 2011.

  1. CrAkD macrumors 68040

    CrAkD

    Joined:
    Feb 15, 2010
    Location:
    Boston, MA
    #1
    Ok so I'm a new developer I haven't programmed in years and I used to program in VB (lol) but what I would always do is make the whole interface first then code it. Seemed easier for me to figure stuff out that way. Is there a way to do this in Xcode? I tried for an hour and a half to add a tab to default 2 tab controller. No matter what I did I couldn't get it to add a thirdviewcontroller.
     
  2. jnoxx macrumors 65816

    jnoxx

    Joined:
    Dec 29, 2010
    Location:
    Aartselaar // Antwerp // Belgium
    #2
    Drag a new View Controller, or Navigation Based controller from your library onto your tabbarcontroller, TADAA :) u just need to give it a header, like ThirdViewController.h, and the NIB file in the identity inspector. and should work like a charm.
     
  3. CrAkD thread starter macrumors 68040

    CrAkD

    Joined:
    Feb 15, 2010
    Location:
    Boston, MA
    #3
    I tried dragging stuff from the library it just bounced back haha. I made a header but can't remember if I made the header before or after trying to drag. I'll try again thanks!!
     

Share This Page