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