2014-10-02 7 views
6

मुझे दस्तावेज़ थोड़ा सा स्पैस मिलता है। यहाँ एक उदाहरणNSLayoutAttribute की व्याख्या

NSLayoutAttributeTrailing 
    The trailing edge of the object’s alignment rectangle. 
    Available in iOS 6.0 and later. 
    Declared in NSLayoutConstraint.h 

विशेष रूप से मैं चाहता हूँ इन सब के बारे में बताया

NSLayoutAttributeLeft 
NSLayoutAttributeRight 
NSLayoutAttributeTop 
NSLayoutAttributeBottom 
NSLayoutAttributeLeading 
NSLayoutAttributeTrailing 
NSLayoutAttributeWidth 
NSLayoutAttributeHeight 
NSLayoutAttributeCenterX 
NSLayoutAttributeCenterY 
NSLayoutAttributeBaseline 
NSLayoutAttributeLastBaseline 
NSLayoutAttributeFirstBaseline 
NSLayoutAttributeLeftMargin 
NSLayoutAttributeRightMargin 
NSLayoutAttributeTopMargin 
NSLayoutAttributeBottomMargin 
NSLayoutAttributeLeadingMargin 
NSLayoutAttributeTrailingMargin 
NSLayoutAttributeCenterXWithinMargins 
NSLayoutAttributeCenterYWithinMargins 

उत्तर

20

constraint-nouns

चित्रित है कि एक बात के लिए। यह बेहतर हो सकता था। यहां PSD है।

+0

एलओएल! मुझे प्यार है कि आप इसे पहले ही तैयार कर चुके हैं। परंतु! यह उदाहरण एक चीनी चरित्र है। पीछे और अग्रणी दूसरे तरीके से होना चाहिए। इसके अलावा, आपने ऊपर और नीचे गलत लेबल किया है। बाएं और दाएं भी गायब हैं। – Fogmeister

+1

मैंने ऊपर और नीचे नाम बदल दिया। क्या चीनी सरकार ने दशकों पहले लिखने के लिए सही, ऊपर से नीचे लिखने की अनुमति नहीं दी थी? (मैं ईमानदारी से यकीन नहीं कर रहा हूँ) – Jano

+0

आह, आप तब दिशा के बारे में सही हो सकते हैं। मैंने हमेशा यह माना कि यह एक आरटीएल भाषा थी। – Fogmeister

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