I understand the "Xcode Specific Label" section.
What I don't understand is the "Notes" section. I've played around with it and can't see any discernable effect.
Can anyone explain this?
First, in Xcode, go to the Resources folder from the tree view on the left and select MainMenu. xib . It will open in the main view. This is where you are going to build you UI.
If you do not see the Document Outline area in your Xcode workspace, choose Editor, Show Document Outline from the menu bar. You can also click the disclosure arrow in the lower-left corner of the Xcode Editor area.
Interface Builder The first is an editor, where you write the Swift code that makes your application run. The second is Interface Builder, which is the part where you lay out the graphical interface of your program—the buttons, toolbars, menus, images, and text that make up how your users interact with your program.
The Main Interface field defines which storyboard file the app loads first upon launch. Because you created the project using the Single View App template, this field is preconfigured to use Main.
It's saving an attributed string with a key of userComments
to the storyboard file.
<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>
I don't know of any practical use of this, though. It would be nice to be able to retrieve this programmatically, though.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With