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
- 스위프트
- RxCocoa
- combine
- SWIFT
- ios
- UICollectionView
- 클린 코드
- clean architecture
- UITextView
- uiscrollview
- 애니메이션
- MVVM
- Clean Code
- swift documentation
- collectionview
- Human interface guide
- Refactoring
- scrollview
- 리펙토링
- ribs
- Observable
- swiftUI
- 리팩토링
- tableView
- Xcode
- map
- HIG
- rxswift
- uitableview
Archives
- Today
- Total
목록TimerView (1)
김종권의 iOS 앱 개발 알아가기
TimerView 입력한 초만큼 테두리에 stroke가 칠해지는 뷰 구현 아이디어 UIBezierPath를 이용하면 뷰의 테두리 부분의 위치를 쉽게 구할 수 있는 점 CAShapeLayer를 이용하면 테두리의 width값과 fillColor, strokeColor, 거기에다가 CABasicAnimation의 "strokeEnd" 애니메이션도 쉽게 사용이 가능 사용하는쪽에서는 단순히 아래에서 구현할 TimerView를 addSubview하고 start(duration:)하여 사용 ex) TimerView를 사용하는쪽 // ViewController.swift private func addTimerView(on subview: UIView) { let timerView = TimerView() subview..
UI 컴포넌트 (swift)
2022. 9. 8. 22:59