속성 | 자료형 | 기본값 | 버전3 | 설명 |
NSFontAttributeName | UIFont | Helvetica 12p | 6.0 | 서체 종류와 크기 |
NSParagraphStyleAttributeName | NSParagraphStyle | defaultParagraphStyle | 6.0 | 문장 스타일 |
NSLigatureAttributeName | NSNumber (integer) | 1 (ligature) | 6.0 | 합자6 여부 |
NSKernAttributeName | NSNumber (float) | Depending on the font | 6.0 | 자간7 |
NSForegroundColorAttributeName | UIColor | Black Color | 6.0 | 글씨 색 |
NSBackgroundColorAttributeName | UIColor | nil (no background) | 6.0 | 글씨 배경색 |
NSUnderlineStyleAttributeName | NSNumber (integer) | 0 (no underline) | 6.0 | 밑줄 스타일 (None, Single, Thick, Double, Word 등의 스타일과 Solid, Dot, Dash, Dash Dot, Dash Dot Dot 등의 채우기 스타일이 있다) |
NSUnderlineColorAttributeName | UIColor | nil (same foreground) | 7.0 | 밑줄 색 |
NSStrokeWidthAttributeName | NSNumber (float) | 0 (no stroke) | 6.0 | 글자 테두리 두께 |
NSStrokeColorAttributeName | UIColor | nil (same foreground) | 6.0 | 글자 테두리 색 |
NSStrikethroughStyleAttributeName | NSNumber (integer) | 0 (no strikethrough) | 6.0 | 취소선 스타일 |
NSStrikethroughColorAttributeName | UIColor | nil (same foreground) | 7.0 | 취소선 색 |
NSShadowAttributeName | NSShadow | nil (no shadow) | 6.0 | 글자 그림자 스타일 (그림자 위치, 색, 블러효과 등 스타일) |
NSTextEffectAttributeName | NSString | nil (no text effect) | 7.0 | 글자 이펙트 (미리 알림 앱에서 사용되는 글자 효과. 현재는 Letterpress 스타일 밖에 없다) |
NSBaselineOffsetAttributeName | NSNumber (float) | 0 | 7.0 | 글자 기준선8 |
NSObliquenessAttributeName | NSNumber (float) | 0 (no skew) | 7.0 | 글자 기울기 방향(이텔릭체와 흡사) |
NSExpansionAttributeName | NSNumber (float) | 0 (no expansion) | 7.0 | 글자 늘리기(균등 정렬과 흡사) |
NSLinkAttributeName | NSURL or NSString | nil | 7.0 | 링크 |
'iOS' 카테고리의 다른 글
UIActivityIndicatorView 사용시 주의점 (0) | 2016.09.23 |
---|---|
UIViewController Navigation Bar Setting (0) | 2014.12.22 |
Mavericks 에서 Git으로 SVN이 체크아웃 안받아질 때 (0) | 2014.05.23 |
CollectionView 헤더 테이블뷰의 헤더 처럼 항상 노출되는 방법 (0) | 2014.03.13 |
UICollectionView setCollectionViewLayout Crash (0) | 2014.03.13 |