views:

51

answers:

2

I'm curious, can anyone describe the internal structure of a .xib file used by Interface Builder?

A: 

Take a look at this blog entry.

Pablo Santa Cruz
A: 

Well a xib file is an XML file used by Interface Builder.

The header usually contains something similar to this:

<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.10">

Then they consist of 'object' entries which represent objects contained within the nib.

<object class="NSMutableDictionary" key="IBDocument.PluginVersions">
Nick Brooks