Notice
Recent Posts
Recent Comments
Link
Tags
- 애플사이다
- DiffableDataSource
- lineBreakMode
- IOS
- lineBreakStrategy
- WWDC
- Apple
- GOF
- iTerm
- HIG
- 야곰아카데미
- Swift
- UILabel
- 애플
- LanguageGuide
- Split View
- 앱개발
- TOSS
- Human Interface Guidelines
- Combine+UIKit
- iPad
- 전달인자 레이블
- orthogonalScrollingBehavior
- 스위프트
- Keychain
- 디자인패턴
- Accessibility
- UIKit
- CollectionView
- github
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
목록AttributedString (1)
애플사이다의 iOS 개발 일지
[attributedString] UILabel의 텍스트 커스텀하기 - font, underline, strike, alignment, lineHeight, paragraphStyle
나중에 복붙해서 사용하려고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