├── .DS_Store
├── doc
├── .DS_Store
└── frontend_development.jpg
├── UTCTime
├── UTCTime
│ ├── App
│ │ ├── Assets.xcassets
│ │ │ ├── Contents.json
│ │ │ ├── AccentColor.colorset
│ │ │ │ └── Contents.json
│ │ │ └── AppIcon.appiconset
│ │ │ │ └── Contents.json
│ │ ├── AppDelegate.swift
│ │ ├── SceneDelegate.swift
│ │ └── Base.lproj
│ │ │ ├── LaunchScreen.storyboard
│ │ │ └── Main.storyboard
│ ├── View
│ │ ├── Model.swift
│ │ ├── Repository.swift
│ │ ├── Entity.swift
│ │ ├── ViewController.swift
│ │ ├── ViewModel.swift
│ │ └── Service.swift
│ └── Info.plist
└── UTCTime.xcodeproj
│ ├── project.xcworkspace
│ ├── contents.xcworkspacedata
│ └── xcshareddata
│ │ ├── IDEWorkspaceChecks.plist
│ │ └── swiftpm
│ │ └── Package.resolved
│ └── project.pbxproj
├── .gitignore
└── README.md
/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iamchiwon/mvvm_final/HEAD/.DS_Store
--------------------------------------------------------------------------------
/doc/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iamchiwon/mvvm_final/HEAD/doc/.DS_Store
--------------------------------------------------------------------------------
/doc/frontend_development.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iamchiwon/mvvm_final/HEAD/doc/frontend_development.jpg
--------------------------------------------------------------------------------
/UTCTime/UTCTime/App/Assets.xcassets/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "author" : "xcode",
4 | "version" : 1
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/UTCTime/UTCTime.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/UTCTime/UTCTime/View/Model.swift:
--------------------------------------------------------------------------------
1 | //
2 | // Model.swift
3 | // UTCTime
4 | //
5 | // Created by Chiwon Song on 2021/05/31.
6 | //
7 |
8 | import Foundation
9 |
10 | struct Model {
11 | var currentDateTime: Date
12 | }
13 |
--------------------------------------------------------------------------------
/UTCTime/UTCTime/App/Assets.xcassets/AccentColor.colorset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "colors" : [
3 | {
4 | "idiom" : "universal"
5 | }
6 | ],
7 | "info" : {
8 | "author" : "xcode",
9 | "version" : 1
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/UTCTime/UTCTime.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/UTCTime/UTCTime.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved:
--------------------------------------------------------------------------------
1 | {
2 | "object": {
3 | "pins": [
4 | {
5 | "package": "RxSwift",
6 | "repositoryURL": "https://github.com/ReactiveX/RxSwift",
7 | "state": {
8 | "branch": "main",
9 | "revision": "7741a11cb4252c379c8e034508cb1b92b8b40427",
10 | "version": null
11 | }
12 | }
13 | ]
14 | },
15 | "version": 1
16 | }
17 |
--------------------------------------------------------------------------------
/UTCTime/UTCTime/View/Repository.swift:
--------------------------------------------------------------------------------
1 | //
2 | // Repository.swift
3 | // UTCTime
4 | //
5 | // Created by Chiwon Song on 2021/05/31.
6 | //
7 |
8 | import Foundation
9 |
10 | class Repository {
11 | func fetchNow(onCompleted: @escaping (UtcTimeModel) -> Void) {
12 | let url = "http://worldclockapi.com/api/json/utc/now"
13 |
14 | URLSession.shared.dataTask(with: URL(string: url)!) { data, _, _ in
15 | guard let data = data else { return }
16 | guard let model = try? JSONDecoder().decode(UtcTimeModel.self, from: data) else { return }
17 | onCompleted(model)
18 | }.resume()
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/UTCTime/UTCTime/View/Entity.swift:
--------------------------------------------------------------------------------
1 | //
2 | // Entity.swift
3 | // UTCTime
4 | //
5 | // Created by Chiwon Song on 2021/05/31.
6 | //
7 |
8 | import Foundation
9 |
10 | struct UtcTimeModel: Codable {
11 | let id: String
12 | let currentDateTime: String
13 | let utcOffset: String
14 | let isDayLightSavingsTime: Bool
15 | let dayOfTheWeek: String
16 | let timeZoneName: String
17 | let currentFileTime: Int
18 | let ordinalDate: String
19 | let serviceResponse: String?
20 |
21 | enum CodingKeys: String, CodingKey {
22 | case id = "$id"
23 | case currentDateTime
24 | case utcOffset
25 | case isDayLightSavingsTime
26 | case dayOfTheWeek
27 | case timeZoneName
28 | case currentFileTime
29 | case ordinalDate
30 | case serviceResponse
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/UTCTime/UTCTime/View/ViewController.swift:
--------------------------------------------------------------------------------
1 | //
2 | // ViewController.swift
3 | // UTCTime
4 | //
5 | // Created by Chiwon Song on 2021/05/31.
6 | //
7 |
8 | import UIKit
9 | import RxSwift
10 | import RxCocoa
11 |
12 | class ViewController: UIViewController {
13 | @IBOutlet var datetimeLabel: UILabel!
14 |
15 | @IBAction func onYesterday() {
16 | viewModel.moveDay(day: -1)
17 | }
18 |
19 | @IBAction func onNow() {
20 | datetimeLabel.text = "Loading.."
21 |
22 | viewModel.reload()
23 | }
24 |
25 | @IBAction func onTomorrow() {
26 | viewModel.moveDay(day: 1)
27 | }
28 |
29 | let viewModel = ViewModel()
30 | let disposeBag = DisposeBag()
31 |
32 | override func viewDidLoad() {
33 | super.viewDidLoad()
34 |
35 | viewModel.dateTimeString
36 | .bind(to: datetimeLabel.rx.text)
37 | .disposed(by: disposeBag)
38 |
39 | viewModel.reload()
40 | }
41 | }
42 |
--------------------------------------------------------------------------------
/UTCTime/UTCTime/View/ViewModel.swift:
--------------------------------------------------------------------------------
1 | //
2 | // ViewModel.swift
3 | // UTCTime
4 | //
5 | // Created by Chiwon Song on 2021/05/31.
6 | //
7 |
8 | import Foundation
9 | import RxRelay
10 |
11 | class ViewModel {
12 |
13 | let dateTimeString = BehaviorRelay(value: "Loading..")
14 |
15 | let service = Service()
16 |
17 | private func dateToString(date: Date) -> String {
18 | let formatter = DateFormatter()
19 | formatter.dateFormat = "yyyy년 MM월 dd일 HH시 mm분"
20 | return formatter.string(from: date)
21 | }
22 |
23 | func reload() {
24 | // Model -> ViewModel
25 | service.fetchNow { [weak self] model in
26 | guard let self = self else { return }
27 | let dateString = self.dateToString(date: model.currentDateTime)
28 | self.dateTimeString.accept(dateString)
29 | }
30 | }
31 |
32 | func moveDay(day: Int) {
33 | service.moveDay(day: day)
34 | dateTimeString.accept(dateToString(date: service.currentModel.currentDateTime))
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/UTCTime/UTCTime/View/Service.swift:
--------------------------------------------------------------------------------
1 | //
2 | // Logic.swift
3 | // UTCTime
4 | //
5 | // Created by Chiwon Song on 2021/05/31.
6 | //
7 |
8 | import Foundation
9 |
10 | class Service {
11 | let repository = Repository()
12 |
13 | var currentModel = Model(currentDateTime: Date()) // state
14 |
15 | func fetchNow(onCompleted: @escaping (Model) -> Void) {
16 |
17 | // Entity -> Model
18 | repository.fetchNow { [weak self] entity in
19 | let formatter = DateFormatter()
20 | formatter.dateFormat = "yyyy-MM-dd'T'HH:mm'Z'"
21 |
22 | guard let now = formatter.date(from: entity.currentDateTime) else { return }
23 |
24 | let model = Model(currentDateTime: now)
25 | self?.currentModel = model
26 |
27 | onCompleted(model)
28 | }
29 | }
30 |
31 | func moveDay(day: Int) {
32 | guard let movedDay = Calendar.current.date(byAdding: .day,
33 | value: day,
34 | to: currentModel.currentDateTime) else {
35 | return
36 | }
37 | currentModel.currentDateTime = movedDay
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 |
3 | # Created by https://www.toptal.com/developers/gitignore/api/xcode,swiftpackagemanager
4 | # Edit at https://www.toptal.com/developers/gitignore?templates=xcode,swiftpackagemanager
5 |
6 | ### SwiftPackageManager ###
7 | Packages
8 | .build/
9 | xcuserdata
10 | DerivedData/
11 | *.xcodeproj
12 |
13 |
14 | ### Xcode ###
15 | # Xcode
16 | #
17 | # gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
18 |
19 | ## User settings
20 | xcuserdata/
21 |
22 | ## compatibility with Xcode 8 and earlier (ignoring not required starting Xcode 9)
23 | *.xcscmblueprint
24 | *.xccheckout
25 |
26 | ## compatibility with Xcode 3 and earlier (ignoring not required starting Xcode 4)
27 | build/
28 | *.moved-aside
29 | *.pbxuser
30 | !default.pbxuser
31 | *.mode1v3
32 | !default.mode1v3
33 | *.mode2v3
34 | !default.mode2v3
35 | *.perspectivev3
36 | !default.perspectivev3
37 |
38 | ## Gcc Patch
39 | /*.gcno
40 |
41 | ### Xcode Patch ###
42 | *.xcodeproj/*
43 | !*.xcodeproj/project.pbxproj
44 | !*.xcodeproj/xcshareddata/
45 | !*.xcworkspace/contents.xcworkspacedata
46 | **/xcshareddata/WorkspaceSettings.xcsettings
47 |
48 | # End of https://www.toptal.com/developers/gitignore/api/xcode,swiftpackagemanager
49 |
--------------------------------------------------------------------------------
/UTCTime/UTCTime/App/AppDelegate.swift:
--------------------------------------------------------------------------------
1 | //
2 | // AppDelegate.swift
3 | // UTCTime
4 | //
5 | // Created by Chiwon Song on 2021/05/31.
6 | //
7 |
8 | import UIKit
9 |
10 | @main
11 | class AppDelegate: UIResponder, UIApplicationDelegate {
12 |
13 |
14 |
15 | func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
16 | // Override point for customization after application launch.
17 | return true
18 | }
19 |
20 | // MARK: UISceneSession Lifecycle
21 |
22 | func application(_ application: UIApplication, configurationForConnecting connectingSceneSession: UISceneSession, options: UIScene.ConnectionOptions) -> UISceneConfiguration {
23 | // Called when a new scene session is being created.
24 | // Use this method to select a configuration to create the new scene with.
25 | return UISceneConfiguration(name: "Default Configuration", sessionRole: connectingSceneSession.role)
26 | }
27 |
28 | func application(_ application: UIApplication, didDiscardSceneSessions sceneSessions: Set) {
29 | // Called when the user discards a scene session.
30 | // If any sessions were discarded while the application was not running, this will be called shortly after application:didFinishLaunchingWithOptions.
31 | // Use this method to release any resources that were specific to the discarded scenes, as they will not return.
32 | }
33 |
34 |
35 | }
36 |
37 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # MVVM 종결(?)
2 |
3 | 
4 |
5 | ## 클라이언트 프로그램
6 |
7 | 1. 클라이언트 프로그램은 Data 를 View 에 이쁠게 그려주는 것이다.
8 | 2. 그런데 그 Data 라는 것은 3가지 형태가 존재한다.
9 | 1. 서버로부터 받은 원천 데이터 : `Entity`
10 | 2. 비지니스 로직에서 사용하는 근본 데이터 : `Model`
11 | 3. 화면에 보이기 위한 화면 데이터 : `ViewModel`
12 | 3. 화면에 보여질 데이터를 Model 로부터 만들고 가지고 있는 것이 `ViewModel` 이다.
13 |
14 | ## DataBinding
15 |
16 | 1. 프로그램이 이렇게 구성된다고 볼 때
17 | - 화면 View
18 | - 비지니스 로직 Service
19 | 2. 가장 중요한 부분은 비지니스 로직 Service 이다.
20 | 3. 이 비지니스 로직 Service 에서 취급하는 데이터가 Model 이다.
21 | 4. 이 모델은 (물론 생산하는 것도 있겠지만) 어딘가로부터 전달된 것이다.
22 | 5. 서버 혹은 DB로부터 전달된 데이터를 구분하기 위해 원천 데이터 Enity 하고 하자.
23 | 6. 이것을 가져오는 역할을 하는 것이 Repository 이다.
24 | 7. 화면 View 는 Service가 처리한 데이터 Model 을 화면에 그려내는 것이다.
25 | 8. 그런데 Model을 그대로 그려낼 수 없다. 화면용 데이터로 변환이 필요하다.
26 | 9. 그 화면용 데이터가 View 용 Model 인 ViewModel 이다.
27 |
28 | ### 의존도를 그려보면
29 |
30 | - View -> Service -> Repository
31 | - ViewModel -> Model -> Entity
32 |
33 | 1. 이렇게 화살표 방향을 일관성 있도록 유지하려면
34 | 2. View는 ViewModel을 사용하기만 해야할 뿐,
35 | 3. ViewModel 이 View를 알아서는 안된다.
36 | 4. 그러다 보니, View 가 ViewModel의 데이터 변경을 스스로 알아챌 필요가 있고
37 | 5. 그래서 DataBinding이 필요해 진다.
38 |
39 | > 결국 데이터를 용도에 따라 구분해 놓고 그 의존관계를 일관성 있게 유지하려면
40 | > DataBinding이 등장할 수 밖에 없게 된다.
41 |
42 | ## 결론
43 |
44 | 1. MVVM 이 DataBinding 자체를 말하는 것이 아니다.
45 | 2. MVVM 에서 VM에 모든 비지니스 로직이 있어야 하는 것이 아니다.
46 | - 비지니스 로직은 Service 같은 곳에 있어야 하고
47 | - VM에서는 화면용 데이터를 갖고 있는것,
48 | - Model 을 View용 Model 로 변경하는 정도의 로직 만 있으면 된다.
49 | 3. MVVM의 데이터 의존관계를 일관성있게 유지하기 위해서 VM은 V를 알면 안된다.
50 | 4. MVVM 의 DataBinding를 위해서 반드시 RxSwift 같은 것을 사용해야만 하는 것은 아니다.
51 |
52 | ---
53 |
54 | ### 기타
55 |
56 | 1. SwiftUI 를 하다보면 구성 자체가 MVVM으로 되어 있어 어쩔 수 없이 MVVM을 사용하게 된다.
57 | 2. ObservableObject 에서는 UI에 그려질 데이터를 제공해야 하니까 VM 이다.
58 | 3. 비지니스 로직이 ObservableObject에 있어야 하나? 그럴필요 없다. Service 같은 곳으로 분리해야 하는 것이 맞다.
59 | 4. ObservableObject 에서 Service에 어떻게 접근해야 하는가? 그래서 DI가 필요한 것이다.
60 |
61 | [](https://youtu.be/M58LqynqQHc)
62 |
--------------------------------------------------------------------------------
/UTCTime/UTCTime/App/Assets.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "iphone",
5 | "scale" : "2x",
6 | "size" : "20x20"
7 | },
8 | {
9 | "idiom" : "iphone",
10 | "scale" : "3x",
11 | "size" : "20x20"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "scale" : "2x",
16 | "size" : "29x29"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "scale" : "3x",
21 | "size" : "29x29"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "scale" : "2x",
26 | "size" : "40x40"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "scale" : "3x",
31 | "size" : "40x40"
32 | },
33 | {
34 | "idiom" : "iphone",
35 | "scale" : "2x",
36 | "size" : "60x60"
37 | },
38 | {
39 | "idiom" : "iphone",
40 | "scale" : "3x",
41 | "size" : "60x60"
42 | },
43 | {
44 | "idiom" : "ipad",
45 | "scale" : "1x",
46 | "size" : "20x20"
47 | },
48 | {
49 | "idiom" : "ipad",
50 | "scale" : "2x",
51 | "size" : "20x20"
52 | },
53 | {
54 | "idiom" : "ipad",
55 | "scale" : "1x",
56 | "size" : "29x29"
57 | },
58 | {
59 | "idiom" : "ipad",
60 | "scale" : "2x",
61 | "size" : "29x29"
62 | },
63 | {
64 | "idiom" : "ipad",
65 | "scale" : "1x",
66 | "size" : "40x40"
67 | },
68 | {
69 | "idiom" : "ipad",
70 | "scale" : "2x",
71 | "size" : "40x40"
72 | },
73 | {
74 | "idiom" : "ipad",
75 | "scale" : "1x",
76 | "size" : "76x76"
77 | },
78 | {
79 | "idiom" : "ipad",
80 | "scale" : "2x",
81 | "size" : "76x76"
82 | },
83 | {
84 | "idiom" : "ipad",
85 | "scale" : "2x",
86 | "size" : "83.5x83.5"
87 | },
88 | {
89 | "idiom" : "ios-marketing",
90 | "scale" : "1x",
91 | "size" : "1024x1024"
92 | }
93 | ],
94 | "info" : {
95 | "author" : "xcode",
96 | "version" : 1
97 | }
98 | }
99 |
--------------------------------------------------------------------------------
/UTCTime/UTCTime/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | NSAppTransportSecurity
6 |
7 | NSAllowsArbitraryLoads
8 |
9 |
10 | CFBundleDevelopmentRegion
11 | $(DEVELOPMENT_LANGUAGE)
12 | CFBundleExecutable
13 | $(EXECUTABLE_NAME)
14 | CFBundleIdentifier
15 | $(PRODUCT_BUNDLE_IDENTIFIER)
16 | CFBundleInfoDictionaryVersion
17 | 6.0
18 | CFBundleName
19 | $(PRODUCT_NAME)
20 | CFBundlePackageType
21 | $(PRODUCT_BUNDLE_PACKAGE_TYPE)
22 | CFBundleShortVersionString
23 | 1.0
24 | CFBundleVersion
25 | 1
26 | LSRequiresIPhoneOS
27 |
28 | UIApplicationSceneManifest
29 |
30 | UIApplicationSupportsMultipleScenes
31 |
32 | UISceneConfigurations
33 |
34 | UIWindowSceneSessionRoleApplication
35 |
36 |
37 | UISceneConfigurationName
38 | Default Configuration
39 | UISceneDelegateClassName
40 | $(PRODUCT_MODULE_NAME).SceneDelegate
41 | UISceneStoryboardFile
42 | Main
43 |
44 |
45 |
46 |
47 | UIApplicationSupportsIndirectInputEvents
48 |
49 | UILaunchStoryboardName
50 | LaunchScreen
51 | UIMainStoryboardFile
52 | Main
53 | UIRequiredDeviceCapabilities
54 |
55 | armv7
56 |
57 | UISupportedInterfaceOrientations
58 |
59 | UIInterfaceOrientationPortrait
60 | UIInterfaceOrientationLandscapeLeft
61 | UIInterfaceOrientationLandscapeRight
62 |
63 | UISupportedInterfaceOrientations~ipad
64 |
65 | UIInterfaceOrientationPortrait
66 | UIInterfaceOrientationPortraitUpsideDown
67 | UIInterfaceOrientationLandscapeLeft
68 | UIInterfaceOrientationLandscapeRight
69 |
70 |
71 |
72 |
--------------------------------------------------------------------------------
/UTCTime/UTCTime/App/SceneDelegate.swift:
--------------------------------------------------------------------------------
1 | //
2 | // SceneDelegate.swift
3 | // UTCTime
4 | //
5 | // Created by Chiwon Song on 2021/05/31.
6 | //
7 |
8 | import UIKit
9 |
10 | class SceneDelegate: UIResponder, UIWindowSceneDelegate {
11 |
12 | var window: UIWindow?
13 |
14 |
15 | func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
16 | // Use this method to optionally configure and attach the UIWindow `window` to the provided UIWindowScene `scene`.
17 | // If using a storyboard, the `window` property will automatically be initialized and attached to the scene.
18 | // This delegate does not imply the connecting scene or session are new (see `application:configurationForConnectingSceneSession` instead).
19 | guard let _ = (scene as? UIWindowScene) else { return }
20 | }
21 |
22 | func sceneDidDisconnect(_ scene: UIScene) {
23 | // Called as the scene is being released by the system.
24 | // This occurs shortly after the scene enters the background, or when its session is discarded.
25 | // Release any resources associated with this scene that can be re-created the next time the scene connects.
26 | // The scene may re-connect later, as its session was not necessarily discarded (see `application:didDiscardSceneSessions` instead).
27 | }
28 |
29 | func sceneDidBecomeActive(_ scene: UIScene) {
30 | // Called when the scene has moved from an inactive state to an active state.
31 | // Use this method to restart any tasks that were paused (or not yet started) when the scene was inactive.
32 | }
33 |
34 | func sceneWillResignActive(_ scene: UIScene) {
35 | // Called when the scene will move from an active state to an inactive state.
36 | // This may occur due to temporary interruptions (ex. an incoming phone call).
37 | }
38 |
39 | func sceneWillEnterForeground(_ scene: UIScene) {
40 | // Called as the scene transitions from the background to the foreground.
41 | // Use this method to undo the changes made on entering the background.
42 | }
43 |
44 | func sceneDidEnterBackground(_ scene: UIScene) {
45 | // Called as the scene transitions from the foreground to the background.
46 | // Use this method to save data, release shared resources, and store enough scene-specific state information
47 | // to restore the scene back to its current state.
48 | }
49 |
50 |
51 | }
52 |
53 |
--------------------------------------------------------------------------------
/UTCTime/UTCTime/App/Base.lproj/LaunchScreen.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
--------------------------------------------------------------------------------
/UTCTime/UTCTime/App/Base.lproj/Main.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
28 |
29 |
30 |
31 |
38 |
46 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
--------------------------------------------------------------------------------
/UTCTime/UTCTime.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 55;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | A111973227D65BB10039FB4A /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = A111973127D65BB10039FB4A /* AppDelegate.swift */; };
11 | A111973427D65BB10039FB4A /* SceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = A111973327D65BB10039FB4A /* SceneDelegate.swift */; };
12 | A111973627D65BB10039FB4A /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A111973527D65BB10039FB4A /* ViewController.swift */; };
13 | A111973927D65BB10039FB4A /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = A111973727D65BB10039FB4A /* Main.storyboard */; };
14 | A111973B27D65BB20039FB4A /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = A111973A27D65BB20039FB4A /* Assets.xcassets */; };
15 | A111973E27D65BB20039FB4A /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = A111973C27D65BB20039FB4A /* LaunchScreen.storyboard */; };
16 | A111976827D65C880039FB4A /* Entity.swift in Sources */ = {isa = PBXBuildFile; fileRef = A111976327D65C880039FB4A /* Entity.swift */; };
17 | A111976927D65C880039FB4A /* Service.swift in Sources */ = {isa = PBXBuildFile; fileRef = A111976427D65C880039FB4A /* Service.swift */; };
18 | A111976A27D65C880039FB4A /* ViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = A111976527D65C880039FB4A /* ViewModel.swift */; };
19 | A111976B27D65C880039FB4A /* Repository.swift in Sources */ = {isa = PBXBuildFile; fileRef = A111976627D65C880039FB4A /* Repository.swift */; };
20 | A111976C27D65C880039FB4A /* Model.swift in Sources */ = {isa = PBXBuildFile; fileRef = A111976727D65C880039FB4A /* Model.swift */; };
21 | A111976F27D65CEE0039FB4A /* RxCocoa in Frameworks */ = {isa = PBXBuildFile; productRef = A111976E27D65CEE0039FB4A /* RxCocoa */; };
22 | A111977127D65CEE0039FB4A /* RxRelay in Frameworks */ = {isa = PBXBuildFile; productRef = A111977027D65CEE0039FB4A /* RxRelay */; };
23 | A111977327D65CEE0039FB4A /* RxSwift in Frameworks */ = {isa = PBXBuildFile; productRef = A111977227D65CEE0039FB4A /* RxSwift */; };
24 | /* End PBXBuildFile section */
25 |
26 | /* Begin PBXFileReference section */
27 | A111972E27D65BB10039FB4A /* UTCTime.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = UTCTime.app; sourceTree = BUILT_PRODUCTS_DIR; };
28 | A111973127D65BB10039FB4A /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; };
29 | A111973327D65BB10039FB4A /* SceneDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SceneDelegate.swift; sourceTree = ""; };
30 | A111973527D65BB10039FB4A /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; };
31 | A111973827D65BB10039FB4A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
32 | A111973A27D65BB20039FB4A /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
33 | A111973D27D65BB20039FB4A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; };
34 | A111973F27D65BB20039FB4A /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
35 | A111976327D65C880039FB4A /* Entity.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Entity.swift; sourceTree = ""; };
36 | A111976427D65C880039FB4A /* Service.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Service.swift; sourceTree = ""; };
37 | A111976527D65C880039FB4A /* ViewModel.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ViewModel.swift; sourceTree = ""; };
38 | A111976627D65C880039FB4A /* Repository.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Repository.swift; sourceTree = ""; };
39 | A111976727D65C880039FB4A /* Model.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Model.swift; sourceTree = ""; };
40 | /* End PBXFileReference section */
41 |
42 | /* Begin PBXFrameworksBuildPhase section */
43 | A111972B27D65BB10039FB4A /* Frameworks */ = {
44 | isa = PBXFrameworksBuildPhase;
45 | buildActionMask = 2147483647;
46 | files = (
47 | A111977327D65CEE0039FB4A /* RxSwift in Frameworks */,
48 | A111977127D65CEE0039FB4A /* RxRelay in Frameworks */,
49 | A111976F27D65CEE0039FB4A /* RxCocoa in Frameworks */,
50 | );
51 | runOnlyForDeploymentPostprocessing = 0;
52 | };
53 | /* End PBXFrameworksBuildPhase section */
54 |
55 | /* Begin PBXGroup section */
56 | A111972527D65BB10039FB4A = {
57 | isa = PBXGroup;
58 | children = (
59 | A111973027D65BB10039FB4A /* UTCTime */,
60 | A111972F27D65BB10039FB4A /* Products */,
61 | );
62 | sourceTree = "";
63 | };
64 | A111972F27D65BB10039FB4A /* Products */ = {
65 | isa = PBXGroup;
66 | children = (
67 | A111972E27D65BB10039FB4A /* UTCTime.app */,
68 | );
69 | name = Products;
70 | sourceTree = "";
71 | };
72 | A111973027D65BB10039FB4A /* UTCTime */ = {
73 | isa = PBXGroup;
74 | children = (
75 | A111976227D65C1B0039FB4A /* View */,
76 | A111976127D65BF40039FB4A /* App */,
77 | A111973F27D65BB20039FB4A /* Info.plist */,
78 | );
79 | path = UTCTime;
80 | sourceTree = "";
81 | };
82 | A111976127D65BF40039FB4A /* App */ = {
83 | isa = PBXGroup;
84 | children = (
85 | A111973127D65BB10039FB4A /* AppDelegate.swift */,
86 | A111973327D65BB10039FB4A /* SceneDelegate.swift */,
87 | A111973727D65BB10039FB4A /* Main.storyboard */,
88 | A111973C27D65BB20039FB4A /* LaunchScreen.storyboard */,
89 | A111973A27D65BB20039FB4A /* Assets.xcassets */,
90 | );
91 | path = App;
92 | sourceTree = "";
93 | };
94 | A111976227D65C1B0039FB4A /* View */ = {
95 | isa = PBXGroup;
96 | children = (
97 | A111976327D65C880039FB4A /* Entity.swift */,
98 | A111976627D65C880039FB4A /* Repository.swift */,
99 | A111976427D65C880039FB4A /* Service.swift */,
100 | A111976727D65C880039FB4A /* Model.swift */,
101 | A111976527D65C880039FB4A /* ViewModel.swift */,
102 | A111973527D65BB10039FB4A /* ViewController.swift */,
103 | );
104 | path = View;
105 | sourceTree = "";
106 | };
107 | /* End PBXGroup section */
108 |
109 | /* Begin PBXNativeTarget section */
110 | A111972D27D65BB10039FB4A /* UTCTime */ = {
111 | isa = PBXNativeTarget;
112 | buildConfigurationList = A111975827D65BB30039FB4A /* Build configuration list for PBXNativeTarget "UTCTime" */;
113 | buildPhases = (
114 | A111972A27D65BB10039FB4A /* Sources */,
115 | A111972B27D65BB10039FB4A /* Frameworks */,
116 | A111972C27D65BB10039FB4A /* Resources */,
117 | );
118 | buildRules = (
119 | );
120 | dependencies = (
121 | );
122 | name = UTCTime;
123 | packageProductDependencies = (
124 | A111976E27D65CEE0039FB4A /* RxCocoa */,
125 | A111977027D65CEE0039FB4A /* RxRelay */,
126 | A111977227D65CEE0039FB4A /* RxSwift */,
127 | );
128 | productName = UTCTime;
129 | productReference = A111972E27D65BB10039FB4A /* UTCTime.app */;
130 | productType = "com.apple.product-type.application";
131 | };
132 | /* End PBXNativeTarget section */
133 |
134 | /* Begin PBXProject section */
135 | A111972627D65BB10039FB4A /* Project object */ = {
136 | isa = PBXProject;
137 | attributes = {
138 | BuildIndependentTargetsInParallel = 1;
139 | LastSwiftUpdateCheck = 1320;
140 | LastUpgradeCheck = 1320;
141 | TargetAttributes = {
142 | A111972D27D65BB10039FB4A = {
143 | CreatedOnToolsVersion = 13.2.1;
144 | };
145 | };
146 | };
147 | buildConfigurationList = A111972927D65BB10039FB4A /* Build configuration list for PBXProject "UTCTime" */;
148 | compatibilityVersion = "Xcode 13.0";
149 | developmentRegion = en;
150 | hasScannedForEncodings = 0;
151 | knownRegions = (
152 | en,
153 | Base,
154 | );
155 | mainGroup = A111972527D65BB10039FB4A;
156 | packageReferences = (
157 | A111976D27D65CEE0039FB4A /* XCRemoteSwiftPackageReference "RxSwift" */,
158 | );
159 | productRefGroup = A111972F27D65BB10039FB4A /* Products */;
160 | projectDirPath = "";
161 | projectRoot = "";
162 | targets = (
163 | A111972D27D65BB10039FB4A /* UTCTime */,
164 | );
165 | };
166 | /* End PBXProject section */
167 |
168 | /* Begin PBXResourcesBuildPhase section */
169 | A111972C27D65BB10039FB4A /* Resources */ = {
170 | isa = PBXResourcesBuildPhase;
171 | buildActionMask = 2147483647;
172 | files = (
173 | A111973E27D65BB20039FB4A /* LaunchScreen.storyboard in Resources */,
174 | A111973B27D65BB20039FB4A /* Assets.xcassets in Resources */,
175 | A111973927D65BB10039FB4A /* Main.storyboard in Resources */,
176 | );
177 | runOnlyForDeploymentPostprocessing = 0;
178 | };
179 | /* End PBXResourcesBuildPhase section */
180 |
181 | /* Begin PBXSourcesBuildPhase section */
182 | A111972A27D65BB10039FB4A /* Sources */ = {
183 | isa = PBXSourcesBuildPhase;
184 | buildActionMask = 2147483647;
185 | files = (
186 | A111976B27D65C880039FB4A /* Repository.swift in Sources */,
187 | A111976827D65C880039FB4A /* Entity.swift in Sources */,
188 | A111973627D65BB10039FB4A /* ViewController.swift in Sources */,
189 | A111976927D65C880039FB4A /* Service.swift in Sources */,
190 | A111973227D65BB10039FB4A /* AppDelegate.swift in Sources */,
191 | A111976A27D65C880039FB4A /* ViewModel.swift in Sources */,
192 | A111973427D65BB10039FB4A /* SceneDelegate.swift in Sources */,
193 | A111976C27D65C880039FB4A /* Model.swift in Sources */,
194 | );
195 | runOnlyForDeploymentPostprocessing = 0;
196 | };
197 | /* End PBXSourcesBuildPhase section */
198 |
199 | /* Begin PBXVariantGroup section */
200 | A111973727D65BB10039FB4A /* Main.storyboard */ = {
201 | isa = PBXVariantGroup;
202 | children = (
203 | A111973827D65BB10039FB4A /* Base */,
204 | );
205 | name = Main.storyboard;
206 | sourceTree = "";
207 | };
208 | A111973C27D65BB20039FB4A /* LaunchScreen.storyboard */ = {
209 | isa = PBXVariantGroup;
210 | children = (
211 | A111973D27D65BB20039FB4A /* Base */,
212 | );
213 | name = LaunchScreen.storyboard;
214 | sourceTree = "";
215 | };
216 | /* End PBXVariantGroup section */
217 |
218 | /* Begin XCBuildConfiguration section */
219 | A111975627D65BB30039FB4A /* Debug */ = {
220 | isa = XCBuildConfiguration;
221 | buildSettings = {
222 | ALWAYS_SEARCH_USER_PATHS = NO;
223 | CLANG_ANALYZER_NONNULL = YES;
224 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
225 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++17";
226 | CLANG_CXX_LIBRARY = "libc++";
227 | CLANG_ENABLE_MODULES = YES;
228 | CLANG_ENABLE_OBJC_ARC = YES;
229 | CLANG_ENABLE_OBJC_WEAK = YES;
230 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
231 | CLANG_WARN_BOOL_CONVERSION = YES;
232 | CLANG_WARN_COMMA = YES;
233 | CLANG_WARN_CONSTANT_CONVERSION = YES;
234 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
235 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
236 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
237 | CLANG_WARN_EMPTY_BODY = YES;
238 | CLANG_WARN_ENUM_CONVERSION = YES;
239 | CLANG_WARN_INFINITE_RECURSION = YES;
240 | CLANG_WARN_INT_CONVERSION = YES;
241 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
242 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
243 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
244 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
245 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
246 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
247 | CLANG_WARN_STRICT_PROTOTYPES = YES;
248 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
249 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
250 | CLANG_WARN_UNREACHABLE_CODE = YES;
251 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
252 | COPY_PHASE_STRIP = NO;
253 | DEBUG_INFORMATION_FORMAT = dwarf;
254 | ENABLE_STRICT_OBJC_MSGSEND = YES;
255 | ENABLE_TESTABILITY = YES;
256 | GCC_C_LANGUAGE_STANDARD = gnu11;
257 | GCC_DYNAMIC_NO_PIC = NO;
258 | GCC_NO_COMMON_BLOCKS = YES;
259 | GCC_OPTIMIZATION_LEVEL = 0;
260 | GCC_PREPROCESSOR_DEFINITIONS = (
261 | "DEBUG=1",
262 | "$(inherited)",
263 | );
264 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
265 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
266 | GCC_WARN_UNDECLARED_SELECTOR = YES;
267 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
268 | GCC_WARN_UNUSED_FUNCTION = YES;
269 | GCC_WARN_UNUSED_VARIABLE = YES;
270 | IPHONEOS_DEPLOYMENT_TARGET = 15.2;
271 | MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
272 | MTL_FAST_MATH = YES;
273 | ONLY_ACTIVE_ARCH = YES;
274 | SDKROOT = iphoneos;
275 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
276 | SWIFT_OPTIMIZATION_LEVEL = "-Onone";
277 | };
278 | name = Debug;
279 | };
280 | A111975727D65BB30039FB4A /* Release */ = {
281 | isa = XCBuildConfiguration;
282 | buildSettings = {
283 | ALWAYS_SEARCH_USER_PATHS = NO;
284 | CLANG_ANALYZER_NONNULL = YES;
285 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
286 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++17";
287 | CLANG_CXX_LIBRARY = "libc++";
288 | CLANG_ENABLE_MODULES = YES;
289 | CLANG_ENABLE_OBJC_ARC = YES;
290 | CLANG_ENABLE_OBJC_WEAK = YES;
291 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
292 | CLANG_WARN_BOOL_CONVERSION = YES;
293 | CLANG_WARN_COMMA = YES;
294 | CLANG_WARN_CONSTANT_CONVERSION = YES;
295 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
296 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
297 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
298 | CLANG_WARN_EMPTY_BODY = YES;
299 | CLANG_WARN_ENUM_CONVERSION = YES;
300 | CLANG_WARN_INFINITE_RECURSION = YES;
301 | CLANG_WARN_INT_CONVERSION = YES;
302 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
303 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
304 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
305 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
306 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
307 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
308 | CLANG_WARN_STRICT_PROTOTYPES = YES;
309 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
310 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
311 | CLANG_WARN_UNREACHABLE_CODE = YES;
312 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
313 | COPY_PHASE_STRIP = NO;
314 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
315 | ENABLE_NS_ASSERTIONS = NO;
316 | ENABLE_STRICT_OBJC_MSGSEND = YES;
317 | GCC_C_LANGUAGE_STANDARD = gnu11;
318 | GCC_NO_COMMON_BLOCKS = YES;
319 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
320 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
321 | GCC_WARN_UNDECLARED_SELECTOR = YES;
322 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
323 | GCC_WARN_UNUSED_FUNCTION = YES;
324 | GCC_WARN_UNUSED_VARIABLE = YES;
325 | IPHONEOS_DEPLOYMENT_TARGET = 15.2;
326 | MTL_ENABLE_DEBUG_INFO = NO;
327 | MTL_FAST_MATH = YES;
328 | SDKROOT = iphoneos;
329 | SWIFT_COMPILATION_MODE = wholemodule;
330 | SWIFT_OPTIMIZATION_LEVEL = "-O";
331 | VALIDATE_PRODUCT = YES;
332 | };
333 | name = Release;
334 | };
335 | A111975927D65BB30039FB4A /* Debug */ = {
336 | isa = XCBuildConfiguration;
337 | buildSettings = {
338 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
339 | ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
340 | CODE_SIGN_STYLE = Automatic;
341 | CURRENT_PROJECT_VERSION = 1;
342 | DEVELOPMENT_TEAM = 77YZ9248DM;
343 | GENERATE_INFOPLIST_FILE = YES;
344 | INFOPLIST_FILE = UTCTime/Info.plist;
345 | INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
346 | INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
347 | INFOPLIST_KEY_UIMainStoryboardFile = Main;
348 | INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
349 | INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
350 | LD_RUNPATH_SEARCH_PATHS = (
351 | "$(inherited)",
352 | "@executable_path/Frameworks",
353 | );
354 | MARKETING_VERSION = 1.0;
355 | PRODUCT_BUNDLE_IDENTIFIER = com.bearfried.app.UTCTime;
356 | PRODUCT_NAME = "$(TARGET_NAME)";
357 | SWIFT_EMIT_LOC_STRINGS = YES;
358 | SWIFT_VERSION = 5.0;
359 | TARGETED_DEVICE_FAMILY = "1,2";
360 | };
361 | name = Debug;
362 | };
363 | A111975A27D65BB30039FB4A /* Release */ = {
364 | isa = XCBuildConfiguration;
365 | buildSettings = {
366 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
367 | ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
368 | CODE_SIGN_STYLE = Automatic;
369 | CURRENT_PROJECT_VERSION = 1;
370 | DEVELOPMENT_TEAM = 77YZ9248DM;
371 | GENERATE_INFOPLIST_FILE = YES;
372 | INFOPLIST_FILE = UTCTime/Info.plist;
373 | INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
374 | INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
375 | INFOPLIST_KEY_UIMainStoryboardFile = Main;
376 | INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
377 | INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
378 | LD_RUNPATH_SEARCH_PATHS = (
379 | "$(inherited)",
380 | "@executable_path/Frameworks",
381 | );
382 | MARKETING_VERSION = 1.0;
383 | PRODUCT_BUNDLE_IDENTIFIER = com.bearfried.app.UTCTime;
384 | PRODUCT_NAME = "$(TARGET_NAME)";
385 | SWIFT_EMIT_LOC_STRINGS = YES;
386 | SWIFT_VERSION = 5.0;
387 | TARGETED_DEVICE_FAMILY = "1,2";
388 | };
389 | name = Release;
390 | };
391 | /* End XCBuildConfiguration section */
392 |
393 | /* Begin XCConfigurationList section */
394 | A111972927D65BB10039FB4A /* Build configuration list for PBXProject "UTCTime" */ = {
395 | isa = XCConfigurationList;
396 | buildConfigurations = (
397 | A111975627D65BB30039FB4A /* Debug */,
398 | A111975727D65BB30039FB4A /* Release */,
399 | );
400 | defaultConfigurationIsVisible = 0;
401 | defaultConfigurationName = Release;
402 | };
403 | A111975827D65BB30039FB4A /* Build configuration list for PBXNativeTarget "UTCTime" */ = {
404 | isa = XCConfigurationList;
405 | buildConfigurations = (
406 | A111975927D65BB30039FB4A /* Debug */,
407 | A111975A27D65BB30039FB4A /* Release */,
408 | );
409 | defaultConfigurationIsVisible = 0;
410 | defaultConfigurationName = Release;
411 | };
412 | /* End XCConfigurationList section */
413 |
414 | /* Begin XCRemoteSwiftPackageReference section */
415 | A111976D27D65CEE0039FB4A /* XCRemoteSwiftPackageReference "RxSwift" */ = {
416 | isa = XCRemoteSwiftPackageReference;
417 | repositoryURL = "https://github.com/ReactiveX/RxSwift";
418 | requirement = {
419 | branch = main;
420 | kind = branch;
421 | };
422 | };
423 | /* End XCRemoteSwiftPackageReference section */
424 |
425 | /* Begin XCSwiftPackageProductDependency section */
426 | A111976E27D65CEE0039FB4A /* RxCocoa */ = {
427 | isa = XCSwiftPackageProductDependency;
428 | package = A111976D27D65CEE0039FB4A /* XCRemoteSwiftPackageReference "RxSwift" */;
429 | productName = RxCocoa;
430 | };
431 | A111977027D65CEE0039FB4A /* RxRelay */ = {
432 | isa = XCSwiftPackageProductDependency;
433 | package = A111976D27D65CEE0039FB4A /* XCRemoteSwiftPackageReference "RxSwift" */;
434 | productName = RxRelay;
435 | };
436 | A111977227D65CEE0039FB4A /* RxSwift */ = {
437 | isa = XCSwiftPackageProductDependency;
438 | package = A111976D27D65CEE0039FB4A /* XCRemoteSwiftPackageReference "RxSwift" */;
439 | productName = RxSwift;
440 | };
441 | /* End XCSwiftPackageProductDependency section */
442 | };
443 | rootObject = A111972627D65BB10039FB4A /* Project object */;
444 | }
445 |
--------------------------------------------------------------------------------