forked from depromeet/14th-team5-iOS
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: 카메라 화면 BBToast 기능 추가 (depromeet#661)
- Loading branch information
1 parent
0e94bcd
commit 84a5665
Showing
5 changed files
with
109 additions
and
49 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
32 changes: 32 additions & 0 deletions
32
14th-team5-iOS/App/Sources/Application/Navigator/CameraDisplayNavigator.swift
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,32 @@ | ||
// | ||
// CameraDisplayNavigator.swift | ||
// App | ||
// | ||
// Created by Kim dohyun on 9/26/24. | ||
// | ||
|
||
import Core | ||
import DesignSystem | ||
import UIKit | ||
|
||
protocol CameraDisplayNavigatorProtocol: BaseNavigator { | ||
func toHome() | ||
} | ||
|
||
final class CameraDisplayNavigator: CameraDisplayNavigatorProtocol { | ||
|
||
//MARK: - Properties | ||
var navigationController: UINavigationController | ||
|
||
|
||
//MARK: - Intializer | ||
init(navigationController: UINavigationController) { | ||
self.navigationController = navigationController | ||
} | ||
|
||
//MARK: - Configure | ||
func toHome() { | ||
let vc = MainViewControllerWrapper().viewController | ||
navigationController.setViewControllers([vc], animated: true) | ||
} | ||
} |
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
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
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