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
- ribs
- uiscrollview
- 애니메이션
- 리팩토링
- SWIFT
- 리펙토링
- clean architecture
- Xcode
- 리펙터링
- ios
- swiftUI
- combine
- 스위프트
- Refactoring
- MVVM
- rxswift
- tableView
- map
- 클린 코드
- Human interface guide
- UITextView
- RxCocoa
- HIG
- uitableview
- Observable
- collectionview
- Protocol
- swift documentation
- UICollectionView
- Clean Code
Archives
- Today
- Total
목록unix timestamp (1)
김종권의 iOS 앱 개발 알아가기
[iOS - swift] 시간 UNIX time, timeIntervalSince1970, Date(), DateFormatter(), Date to String, String to Date, timeIntervalSince1970 to Date
UNIX timestamp 1970-01-01 00:00:00 기준으로 현재까지 몇 초가 지났는지를 나타내는 seconds ex) 1970-01-01 00:00:01의 Unix Timestamp는 `1` timeIntervalSince1970 swift에서의 값은 UNIX timestamp를 의미 Date 객체의 property로 접근 let currentDate = Date().timeIntervalSince1970 print(currentDate) // 1634144792.884293 timeIntervalSince1970은 TimeInterval(=Double) 타입 timeIntervalSince1970 to Date Date(timeIntervalSince1970:) 사용 let unixTime..
iOS 응용 (swift)
2021. 10. 14. 02:17