Swift ) 정렬 (2) - Sort by two criteria
안녕하세요 :) Zedd입니다. 정렬 (1)글을 썼는데요, 이번엔 조금 복잡한 정렬을 해보겠습니다. struct PullRequest { var title: String var createdDate: Date? var approved: Bool } let pullRequests = [ PullRequest(title: "알렌 워커", createdDate: Calendar.current.date(byAdding: .hour, value: -1, to: Date()), approved: true), PullRequest(title: "카이고", createdDate: Calendar.current.date(byAdding: .hour, value: -2, to: Date()), approved: false..
Swift
2020. 11. 24. 13:42
TAG
- swift tutorial
- 제이슨 파싱
- 회고
- swift 공부
- 피아노
- Accessibility
- swift sort
- np-complete
- Xcode
- fastlane
- iOS delegate
- github
- WKWebView
- ios 13
- np-hard
- IOS
- swift array
- WidgetKit
- swift3
- swift delegate
- 스위프트
- Combine
- actor
- SwiftUI
- WWDC
- UIBezierPath
- FLUTTER
- Swift
- Git
- 스위프트 문법
글 보관함
반응형
- Total
- Today
- Yesterday