当我们看到xib文件的源代码时,有一些关键值和关键字。任何人都知道这些关键字的含义是什么,以及我们如何知道我们使用哪个关键字。我知道内部发生的逻辑,但没有足够的关键字知识(在xib源代码中使用)。如果有任何教程或文档可用,请在此处发布,这将有助于我。
由于
答案 0 :(得分:1)
Xib source code based on parents, child and sibling concept, it means it fully works on tree concept.
<string key="className">RSViewController</string>
<string key="superclassName">UIViewController</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBProjectSource</string>
<string key="minorKey">./Classes/RSViewController.h</string>
Class name :- Your current class name.
SuperclassName :- In which class your current class inherited.
Like that all keywords have its own value.