What is the XCode Interface Builder “Document” Section
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?
- What's the best way to call an IBAction from with-in the code?
- Why does Interface Builder show hidden views through the views above them?
- How to load a UIView using a nib file created with Interface Builder
- start position of table view is wrong in simulator, and is not the same in storyboard
- iOS 6.0 AutoLayout issue with constraints: subviews disappear when rotated
- Attribute Unavailable warning on iOS versions prior to 8.0
Solutions Collect From Internet About “What is the XCode Interface Builder “Document” Section”
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.
- dynamically change height of cells in objective C
- Expanding and Collapsing table view cells in ios
- Is there any way to remove the “year” of the date picker?
- Navigation bar appear over the views with new iOS7 SDK
- UIButton as switch
- How to find source of print() or NSLog() console output in Xcode
- XMPPFramework TLS/SSL connection with Openfire
- swift – EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0) with dataTaskWithUrl
- SWIFT: google maps draw waypoint polyline
- NSTextView with Smart Quotes disabled, still replaces quotes
- Variable of AppDelegate used as global variable doesn't work
- NSBundle pathForResource returns nil with subdirs
- UIRefreshControl with UICollectionView in iOS7
- how to resize an image or done as a NSAttributedString NSTextAttachment (or set its initital size)
- Setting tint color for embedded UISearchbar in Navigation bar