[英]What is the internal structure of an Interface Builder .xib file?
Right click a xib
file > Open As > Source Code 右键单击
xib
文件>打开方式>源代码
You'll be able to see the entire xib
file as code. 您将能够将整个
xib
文件视为代码。
Well a xib file is an XML file used by Interface Builder. 那么xib文件是Interface Builder使用的XML文件。
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">
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.