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
- window
- SwiftUI
- Session
- JPA
- error
- view
- 웹뷰
- appstore
- Apple
- github
- Realm
- Archive
- mac
- darkmode
- 개발자
- Notification
- iOS16
- FLUTTER
- UIButton
- geofencing
- 이미지
- Code
- Swift
- Firebase
- Xcode
- 한글
- Git
- rxswift
- IOS
- MacOS
Archives
- Today
- Total
목록UISwitch (1)
EEYatHo 앱 깎는 이야기
iOS, Swift UISwitch
일일히 버튼 만들고 선택 상태에서 UI 바꾸고.. 그러다가 UISwitch 란걸 알게되었다. 넘무 좋아 누르면 알아서 상태바뀌고, 상태 저장도 해주고, 애니메이션까지?! 세상에 네상에 UISwitch 선언 private lazy var pushSwitch: UISwitch = { let mySwitch = UISwitch() mySwitch.onTintColor = Resource.Color.bgYellow02 mySwitch.thumbTintColor = Resource.Color.orange06 mySwitch.addTarget(self, action: #selector(onClickSwitch(sender:)), for: .valueChanged) return mySwitch }() + 스위치 선택..
iOS, Swift
2021. 3. 4. 18:34