xcode newbie - IB / XIB usage patterns?

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

  1. whitehexagon macrumors regular


    May 12, 2007
    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. Catfish_Man macrumors 68030


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

Share This Page