2012-12-07 15 views
9

क्या है "मैं" एक्सकोड विशिष्ट लेबल "अनुभाग को समझता हूं।एक्सकोड इंटरफ़ेस बिल्डर "दस्तावेज़" अनुभाग

मैं समझता हूं "नोट्स" अनुभाग नहीं है। मैंने इसके साथ खेला है और कोई समझदार प्रभाव नहीं देख सकता है।

क्या कोई इसे समझा सकता है?

enter image description here

+0

नोट्स के व्यावहारिक उपयोग के विचार के लिए यह उत्तर देखें: http://stackoverflow.com/questions/11207088/how-to-add-copyright-information-to-a-nib-file/11208398#11208398 – Alladinian

+0

संबंधित: http://stackoverflow.com/questions/7141717/what-is-the-label-property-under-the-identity-inspector-in-xcode-4 –

उत्तर

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> 

मुझे इसके किसी भी व्यावहारिक उपयोग के बारे में पता नहीं है, हालांकि। हालांकि, इस प्रोग्रामेटिक रूप से पुनर्प्राप्त करने में सक्षम होना अच्छा होगा।

+1

बहुत अजीब। धन्यवाद! –

संबंधित मुद्दे