开发者

What is the internal structure of an Interface Builder .xib file?

开发者 https://www.devze.com 2023-01-09 04:06 出处:网络
开发者_如何学运维What is the internal structure of a .xib file used by Interface Builder?Well a xib file is an XML file used by Interface Builder.
开发者_如何学运维

What is the internal structure of a .xib file used by Interface Builder?


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">


Right click a xib file > Open As > Source Code

You'll be able to see the entire xib file as code.

0

精彩评论

暂无评论...
验证码 换一张
取 消