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 |
Tags
- Observable
- clean architecture
- UICollectionView
- UITextView
- combine
- 스위프트
- Refactoring
- Xcode
- Clean Code
- swiftUI
- ribs
- map
- 리펙토링
- HIG
- RxCocoa
- 리팩토링
- uiscrollview
- collectionview
- MVVM
- swift documentation
- 클린 코드
- uitableview
- ios
- 리펙터링
- Human interface guide
- SWIFT
- Protocol
- rxswift
- tableView
- 애니메이션
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