Skip to content

Commit 330611a

Browse files
committed
chore(UI) : 코드베이스UI를 위한 스토리보스 삭제 및 설정
- 메인 스토리보드를 삭제했습니다. - SceneDelegate.swift를 수정했습니다.
1 parent c389081 commit 330611a

File tree

4 files changed

+5
-29
lines changed

4 files changed

+5
-29
lines changed

Ikdaman.xcodeproj/project.pbxproj

-2
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,6 @@
346346
INFOPLIST_FILE = Ikdaman/Resources/Info.plist;
347347
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
348348
INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
349-
INFOPLIST_KEY_UIMainStoryboardFile = Main;
350349
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
351350
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
352351
IPHONEOS_DEPLOYMENT_TARGET = 16;
@@ -377,7 +376,6 @@
377376
INFOPLIST_FILE = Ikdaman/Resources/Info.plist;
378377
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
379378
INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
380-
INFOPLIST_KEY_UIMainStoryboardFile = Main;
381379
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
382380
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
383381
IPHONEOS_DEPLOYMENT_TARGET = 16;

Ikdaman/App/SceneDelegate.swift

+5-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,11 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate {
1515
// Use this method to optionally configure and attach the UIWindow `window` to the provided UIWindowScene `scene`.
1616
// If using a storyboard, the `window` property will automatically be initialized and attached to the scene.
1717
// This delegate does not imply the connecting scene or session are new (see `application:configurationForConnectingSceneSession` instead).
18-
guard let _ = (scene as? UIWindowScene) else { return }
18+
guard let windowScene = (scene as? UIWindowScene) else { return }
19+
20+
window = UIWindow(windowScene: windowScene)
21+
window?.rootViewController = ViewController()
22+
window?.makeKeyAndVisible()
1923
}
2024

2125
func sceneDidDisconnect(_ scene: UIScene) {

Ikdaman/Base.lproj/Main.storyboard

-24
This file was deleted.

Ikdaman/Resources/Info.plist

-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
<string>Default Configuration</string>
1616
<key>UISceneDelegateClassName</key>
1717
<string>$(PRODUCT_MODULE_NAME).SceneDelegate</string>
18-
<key>UISceneStoryboardFile</key>
19-
<string>Main</string>
2018
</dict>
2119
</array>
2220
</dict>

0 commit comments

Comments
 (0)