-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Feat/#104] 코디네이터 적용으로 ContentView AppView로 변경
- Loading branch information
Showing
3 changed files
with
32 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
// | ||
// AppView.swift | ||
// HMH-iOS | ||
// | ||
// Created by 이지희 on 11/15/24. | ||
// Copyright © 2024 HMH-iOS. All rights reserved. | ||
// | ||
|
||
import SwiftUI | ||
|
||
import KakaoSDKAuth | ||
|
||
import DSKit | ||
import Core | ||
|
||
struct AppView: View { | ||
@StateObject var coordinator = AppCoordinator(navigationPath: .init()) | ||
|
||
var body: some View { | ||
ZStack { | ||
Color(DSKitAsset.blackground.swiftUIColor) | ||
.ignoresSafeArea(.all) | ||
coordinator.start() | ||
} | ||
.onOpenURL { url in | ||
if AuthApi.isKakaoTalkLoginUrl(url) { | ||
_ = AuthController.handleOpenUrl(url: url) | ||
} | ||
} | ||
} | ||
} |
91 changes: 0 additions & 91 deletions
91
HMH_Tuist_iOS/Projects/App/Sources/Common/Custom/ContentView.swift
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters