Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 리펙토링
- Protocol
- collectionview
- swiftUI
- uiscrollview
- 애니메이션
- MVVM
- 클린 코드
- clean architecture
- 리팩토링
- HIG
- map
- swift documentation
- rxswift
- combine
- Xcode
- SWIFT
- UICollectionView
- 리펙터링
- ribs
- Clean Code
- uitableview
- UITextView
- ios
- Observable
- tableView
- Refactoring
- Human interface guide
- 스위프트
- RxCocoa
Archives
- Today
- Total
목록Strike (1)
김종권의 iOS 앱 개발 알아가기
[iOS - swift] String에 strikeThrough 적용 (AttributedString)
AttributedString과 String의 차이 String은 단순히 text만 존재 AttributedString은 text에 attribute(속성 - Font, color, style등)이 추가 된 것 코드로 String의 attribute를 지정할 수 있는 장점 Label에 strike속성을 코드로 넣기 String의 extension으로 넣어서 사용 func strikeThrough() -> NSAttributedString { let attributeString: NSMutableAttributedString = NSMutableAttributedString(string: self) attributeString.addAttribute(NSAttributedString.Key.striketh..
iOS 실전 (swift)
2020. 11. 24. 12:00