View Full Version : xcode newbie - IB / XIB usage patterns?

Jun 5, 2009, 04:07 AM
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? :)

Jun 5, 2009, 01:02 PM
cd adium
find Resources/ -name "*.nib" -type d | wc -l

(we use a lot of nibs)