Capisco la sezione "Etichetta specifica Xcode".Che cos'è la sezione "Document" di XCode Interface Builder
Cosa I non capire è la sezione "Note". Ho giocato con esso e non vedo alcun effetto percepibile.
Qualcuno può spiegare questo?
Capisco la sezione "Etichetta specifica Xcode".Che cos'è la sezione "Document" di XCode Interface Builder
Cosa I non capire è la sezione "Note". Ho giocato con esso e non vedo alcun effetto percepibile.
Qualcuno può spiegare questo?
Si tratta di salvare una stringa attribuito con una chiave di userComments
al file storyboard.
<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>
Non so di alcun uso pratico di questo, però. Sarebbe bello poterlo recuperare a livello di programmazione, però.
Così strano. Grazie! –
Per un'idea di un uso pratico delle note, vedere questa risposta: http://stackoverflow.com/questions/11207088/how-to-add-copyright-information-to-a-nib-file/11208398#11208398 – Alladinian
Relativo: http://stackoverflow.com/questions/7141717/what-is-the-label-property-under-the-identity-inspector-in-xcode-4 –