什么是XCode Interface Builder"文档"部分

Mat*_* H. 9 xcode interface-builder ios

我理解"Xcode Specific Label"部分.

明白的是"注释"部分.我玩过它并且看不到任何可辨别的效果.

有谁能解释一下?

在此输入图像描述

Rob*_*Rob 2

它将带有键的属性字符串保存userComments到情节提要文件中。

<attributedString key="userComments">
    <fragment content="These are the comments I entered in the notes section of Interface Builder">
        <attributes>
            <font key="NSFont" size="11" name="LucidaGrande"/>
            <paragraphStyle key="NSParagraphStyle" alignment="left" lineBreakMode="wordWrapping" baseWritingDirection="natural"/>
        </attributes>
    </fragment>
</attributedString>
Run Code Online (Sandbox Code Playgroud)

但我不知道这有什么实际用途。不过,如果能够以编程方式检索它就太好了。