일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- swiftUI
- Clean Code
- Xcode
- rxswift
- combine
- Human interface guide
- 리팩토링
- 애니메이션
- ios
- UICollectionView
- map
- HIG
- clean architecture
- Observable
- SWIFT
- uiscrollview
- uitableview
- tableView
- 리펙터링
- 스위프트
- collectionview
- UITextView
- Refactoring
- ribs
- Protocol
- 클린 코드
- swift documentation
- 리펙토링
- MVVM
- RxCocoa
- Today
- Total
목록TIME (2)
김종권의 iOS 앱 개발 알아가기
1. Timer 구현하기 - UIDatePicker 개념, Timer로 구현 방법 2. Timer 구현하기 - DispatchSourceTimer로 구현 방법 (Background에서도 동작) 3. Timer 구현하기 - CircularProgressBar UI 구현(CAShapeLayer 사용), DispatchSourceTimer와 Timer로 구현 방법 UIDatePicker 4가지 모드 UIDatePicker 인스턴스의 필드값 "datePickerMode" 사용 4가지 종류 time date dateAndTime countDownTimer UIDatePicker 입력 값 얻는 방법 > .valueChanged 이벤트를 받아서, dataPicker.date로 값 접근 datePickerMode = ..
초 정보 -> 시, 분 표현 TimeParts 구조체 정의 public struct TimeParts: CustomStringConvertible { public var hours = 0 public var minutes = 0 public var description: String { return NSString(format: "%02d:%02d", hours, minutes) as String } } Int를 extension하여 TimeParts 모델을 리턴하는 코드 정의 extension Int { public func toTimeParts() -> TimeParts { let seconds = self let mins = (seconds % 3600) / 60 let hours = seconds..