Skip to content

Commit

Permalink
[#141] 데모데이 시연 플로우
Browse files Browse the repository at this point in the history
[Feat] 데모데이 시연 플로우
  • Loading branch information
meenyweeny authored Jul 29, 2022
2 parents 0613a3d + de14ccf commit 3daa6ab
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Deartoday/Deartoday/Resource/Support/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<key>UISceneDelegateClassName</key>
<string>$(PRODUCT_MODULE_NAME).SceneDelegate</string>
<key>UISceneStoryboardFile</key>
<string>Onboarding</string>
<string>Main</string>
</dict>
</array>
</dict>
Expand Down
10 changes: 5 additions & 5 deletions Deartoday/Deartoday/Resource/Support/SceneDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate {

func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
// Codebase file 확인 코드 - 추후 삭제
// guard let scene = (scene as? UIWindowScene) else { return }
// self.window = UIWindow(windowScene: scene)
// self.window?.rootViewController = SplashViewController()
// self.window?.makeKeyAndVisible()
guard let scene = (scene as? UIWindowScene) else { return }
self.window = UIWindow(windowScene: scene)
self.window?.rootViewController = SplashViewController()
self.window?.makeKeyAndVisible()

// Default function
guard let _ = (scene as? UIWindowScene) else { return }
// guard let _ = (scene as? UIWindowScene) else { return }
}

func sceneDidDisconnect(_ scene: UIScene) {
Expand Down
4 changes: 2 additions & 2 deletions Deartoday/Deartoday/Screen/Main/Base.lproj/Main.storyboard
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="bgDate" translatesAutoresizingMaskIntoConstraints="NO" id="kCm-XR-W2f">
<rect key="frame" x="165" y="51" width="73" height="56"/>
</imageView>
<button hidden="YES" opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="xQ1-B5-dn2">
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="xQ1-B5-dn2">
<rect key="frame" x="315" y="63" width="44" height="44"/>
<constraints>
<constraint firstAttribute="height" constant="44" id="lhz-0k-hB9"/>
Expand All @@ -230,7 +230,7 @@
<action selector="settingButtonDidTap:" destination="BYZ-38-t0r" eventType="touchUpInside" id="1g8-K4-tpH"/>
</connections>
</button>
<button hidden="YES" opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="tab-NT-xCD">
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="tab-NT-xCD">
<rect key="frame" x="315" y="107" width="44" height="44"/>
<constraints>
<constraint firstAttribute="width" secondItem="tab-NT-xCD" secondAttribute="height" multiplier="1:1" id="csq-H3-n6k"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,6 @@ final class LetterOnboardingViewController: UIViewController {
}

@IBAction func startLoginButtonDidTap(_ sender: UIButton) {
// let initialViewController = InitialViewController()
// initialViewController.modalTransitionStyle = .crossDissolve
// initialViewController.modalPresentationStyle = .fullScreen
// present(initialViewController, animated: true)
guard let main = UIStoryboard(name: Constant.Storyboard.Main, bundle: nil).instantiateViewController(withIdentifier: "MainNavigationController") as? UINavigationController else { return }
changeRootViewController(main)
}
Expand Down

0 comments on commit 3daa6ab

Please sign in to comment.