xcode newbie - IB / XIB usage patterns?

Discussion in 'Mac Programming' started by whitehexagon, Jun 5, 2009.

  1. macrumors regular

    whitehexagon

    Joined:
    May 12, 2007
    #1
    So I'm playing around with some XCode stuff working from two books. I'm getting myself a bit confused with IB and xib files. Many of the book examples I've followed rely on IB to build the interface and then a small amount of code in XCode. But when I look a bit deeper into examples from the web, they seem to take far more control. for example the loadView method and instantiating views from frames etc. That's much more than I'm currently doing.

    So should I just jump into building my views up manually? And if so, what role does IB than play? Does it become a tool to only layout positions of NSControl derivatives? are connections then handled manually? What if I want to handle the layout myself, can I avoid IB alltogether? Basically what are the pro's doing? :)
     
  2. macrumors 68030

    Catfish_Man

    Joined:
    Sep 13, 2001
    Location:
    Portland, OR
    #2
    Code:
    cd adium
    find Resources/ -name "*.nib" -type d | wc -l
         463
    
    (we use a lot of nibs)
     

Share This Page