Notice
Recent Posts
Recent Comments
Link
Tags
- github
- 애플
- UIKit
- Accessibility
- 애플사이다
- GOF
- TOSS
- Split View
- lineBreakStrategy
- orthogonalScrollingBehavior
- Keychain
- Human Interface Guidelines
- iTerm
- CollectionView
- Apple
- 야곰아카데미
- 디자인패턴
- DiffableDataSource
- Swift
- 스위프트
- WWDC
- UILabel
- IOS
- Combine+UIKit
- 전달인자 레이블
- HIG
- lineBreakMode
- iPad
- LanguageGuide
- 앱개발
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
- Today
- Total
목록paragraphStyle (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