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
- collectionview
- uitableview
- ios
- HIG
- UITextView
- 리펙터링
- 애니메이션
- swift documentation
- 리팩토링
- Clean Code
- Refactoring
- Xcode
- 클린 코드
- clean architecture
- ribs
- combine
- SWIFT
- Protocol
- 스위프트
- map
- rxswift
- 리펙토링
- swiftUI
- MVVM
- uiscrollview
- RxCocoa
- tableView
- UICollectionView
- Observable
- Human interface guide
Archives
- Today
- Total
목록setTitleColor (1)
김종권의 iOS 앱 개발 알아가기
[iOS - swift] UIButton 상태 애니메이션 처리 방법 (normal, highlighted, selected)
UIButton 상태 애니메이션 처리 방법 보통 UIButton의 highlighted 상태를 표시할 때 아래처럼 작성 버튼의 isSelected 상태에 따라 highlighted 색상을 매번 설정하고 있는 상태 private let button: UIButton = { let button = UIButton() button.setTitle("버튼", for: .normal) button.setTitle("선택됨", for: .selected) button.setTitleColor(.blue, for: .normal) button.setTitleColor(.systemBlue, for: .highlighted) button.setTitleColor(.red, for: .selected) button.tr..
iOS 응용 (swift)
2023. 5. 6. 01:24