Notice
Recent Posts
Recent Comments
Link
Tags
- UILabel
- IOS
- Split View
- Apple
- Human Interface Guidelines
- TOSS
- Swift
- orthogonalScrollingBehavior
- iPad
- Combine+UIKit
- lineBreakStrategy
- Accessibility
- WWDC
- lineBreakMode
- 전달인자 레이블
- LanguageGuide
- 스위프트
- HIG
- 앱개발
- 애플
- UIKit
- GOF
- 야곰아카데미
- github
- Keychain
- CollectionView
- 애플사이다
- iTerm
- 디자인패턴
- DiffableDataSource
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
- Today
- Total
목록AttributedString (1)
애플사이다의 iOS 개발 일지

나중에 복붙해서 사용하려고UILabel의 attributedString 설정값을 간단히 정리해봤다. private lazy var customLabel: UILabel = { let label = UILabel() label.translatesAutoresizingMaskIntoConstraints = false label.numberOfLines = 0 let paragraphStyle = NSMutableParagraphStyle() paragraphStyle.lineBreakMode = .byTruncatingTail paragraphStyle.lineBreakStrategy = .hangulWordPriority paragraphStyle.alignment = .center paragraphSty..
iOS
2022. 12. 21. 07:00