Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 35 additions & 14 deletions iOS_Study_B.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@
objects = {

/* Begin PBXBuildFile section */
2D6D0B0D2B0BCBF2007F19CA /* SnapKit in Frameworks */ = {isa = PBXBuildFile; productRef = 2D6D0B0C2B0BCBF2007F19CA /* SnapKit */; };
2D6D0B0F2B0BCBF2007F19CA /* SnapKit-Dynamic in Frameworks */ = {isa = PBXBuildFile; productRef = 2D6D0B0E2B0BCBF2007F19CA /* SnapKit-Dynamic */; };
954B6B812AC57DAA00FDCFAB /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 954B6B802AC57DAA00FDCFAB /* AppDelegate.swift */; };
954B6B832AC57DAA00FDCFAB /* SceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 954B6B822AC57DAA00FDCFAB /* SceneDelegate.swift */; };
954B6B852AC57DAA00FDCFAB /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 954B6B842AC57DAA00FDCFAB /* ViewController.swift */; };
954B6B882AC57DAA00FDCFAB /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 954B6B862AC57DAA00FDCFAB /* Main.storyboard */; };
954B6B8A2AC57DAB00FDCFAB /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 954B6B892AC57DAB00FDCFAB /* Assets.xcassets */; };
954B6B8D2AC57DAB00FDCFAB /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 954B6B8B2AC57DAB00FDCFAB /* LaunchScreen.storyboard */; };
/* End PBXBuildFile section */
Expand All @@ -20,7 +21,6 @@
954B6B802AC57DAA00FDCFAB /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
954B6B822AC57DAA00FDCFAB /* SceneDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SceneDelegate.swift; sourceTree = "<group>"; };
954B6B842AC57DAA00FDCFAB /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
954B6B872AC57DAA00FDCFAB /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
954B6B892AC57DAB00FDCFAB /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
954B6B8C2AC57DAB00FDCFAB /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
954B6B8E2AC57DAB00FDCFAB /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
Expand All @@ -31,6 +31,8 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
2D6D0B0D2B0BCBF2007F19CA /* SnapKit in Frameworks */,
2D6D0B0F2B0BCBF2007F19CA /* SnapKit-Dynamic in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -59,7 +61,6 @@
954B6B802AC57DAA00FDCFAB /* AppDelegate.swift */,
954B6B822AC57DAA00FDCFAB /* SceneDelegate.swift */,
954B6B842AC57DAA00FDCFAB /* ViewController.swift */,
954B6B862AC57DAA00FDCFAB /* Main.storyboard */,
954B6B892AC57DAB00FDCFAB /* Assets.xcassets */,
954B6B8B2AC57DAB00FDCFAB /* LaunchScreen.storyboard */,
954B6B8E2AC57DAB00FDCFAB /* Info.plist */,
Expand All @@ -83,6 +84,10 @@
dependencies = (
);
name = iOS_Study_B;
packageProductDependencies = (
2D6D0B0C2B0BCBF2007F19CA /* SnapKit */,
2D6D0B0E2B0BCBF2007F19CA /* SnapKit-Dynamic */,
);
productName = iOS_Study_B;
productReference = 954B6B7D2AC57DAA00FDCFAB /* iOS_Study_B.app */;
productType = "com.apple.product-type.application";
Expand Down Expand Up @@ -111,6 +116,9 @@
Base,
);
mainGroup = 954B6B742AC57DAA00FDCFAB;
packageReferences = (
2D6D0B0B2B0BCBF2007F19CA /* XCRemoteSwiftPackageReference "SnapKit" */,
);
productRefGroup = 954B6B7E2AC57DAA00FDCFAB /* Products */;
projectDirPath = "";
projectRoot = "";
Expand All @@ -127,7 +135,6 @@
files = (
954B6B8D2AC57DAB00FDCFAB /* LaunchScreen.storyboard in Resources */,
954B6B8A2AC57DAB00FDCFAB /* Assets.xcassets in Resources */,
954B6B882AC57DAA00FDCFAB /* Main.storyboard in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand All @@ -147,14 +154,6 @@
/* End PBXSourcesBuildPhase section */

/* Begin PBXVariantGroup section */
954B6B862AC57DAA00FDCFAB /* Main.storyboard */ = {
isa = PBXVariantGroup;
children = (
954B6B872AC57DAA00FDCFAB /* Base */,
);
name = Main.storyboard;
sourceTree = "<group>";
};
954B6B8B2AC57DAB00FDCFAB /* LaunchScreen.storyboard */ = {
isa = PBXVariantGroup;
children = (
Expand Down Expand Up @@ -291,7 +290,6 @@
INFOPLIST_FILE = iOS_Study_B/Info.plist;
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
INFOPLIST_KEY_UIMainStoryboardFile = Main;
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
LD_RUNPATH_SEARCH_PATHS = (
Expand All @@ -318,7 +316,6 @@
INFOPLIST_FILE = iOS_Study_B/Info.plist;
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
INFOPLIST_KEY_UIMainStoryboardFile = Main;
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
LD_RUNPATH_SEARCH_PATHS = (
Expand Down Expand Up @@ -356,6 +353,30 @@
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */

/* Begin XCRemoteSwiftPackageReference section */
2D6D0B0B2B0BCBF2007F19CA /* XCRemoteSwiftPackageReference "SnapKit" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/SnapKit/SnapKit.git";
requirement = {
kind = upToNextMajorVersion;
minimumVersion = 5.6.0;
};
};
/* End XCRemoteSwiftPackageReference section */

/* Begin XCSwiftPackageProductDependency section */
2D6D0B0C2B0BCBF2007F19CA /* SnapKit */ = {
isa = XCSwiftPackageProductDependency;
package = 2D6D0B0B2B0BCBF2007F19CA /* XCRemoteSwiftPackageReference "SnapKit" */;
productName = SnapKit;
};
2D6D0B0E2B0BCBF2007F19CA /* SnapKit-Dynamic */ = {
isa = XCSwiftPackageProductDependency;
package = 2D6D0B0B2B0BCBF2007F19CA /* XCRemoteSwiftPackageReference "SnapKit" */;
productName = "SnapKit-Dynamic";
};
/* End XCSwiftPackageProductDependency section */
Comment on lines +375 to +379
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

혹시 시뮬레이터 실행 잘 되셨나요?
스냅킷 추가하실 때는 SnapKit-Dynamic 말고 그냥 SnapKit 하나만 추가해주세요!

};
rootObject = 954B6B752AC57DAA00FDCFAB /* Project object */;
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 0 additions & 24 deletions iOS_Study_B/Base.lproj/Main.storyboard

This file was deleted.

2 changes: 0 additions & 2 deletions iOS_Study_B/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
<string>Default Configuration</string>
<key>UISceneDelegateClassName</key>
<string>$(PRODUCT_MODULE_NAME).SceneDelegate</string>
<key>UISceneStoryboardFile</key>
<string>Main</string>
</dict>
</array>
</dict>
Expand Down
10 changes: 6 additions & 4 deletions iOS_Study_B/SceneDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,12 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate {


func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
// Use this method to optionally configure and attach the UIWindow `window` to the provided UIWindowScene `scene`.
// If using a storyboard, the `window` property will automatically be initialized and attached to the scene.
// This delegate does not imply the connecting scene or session are new (see `application:configurationForConnectingSceneSession` instead).
guard let _ = (scene as? UIWindowScene) else { return }
guard let windowScene = (scene as? UIWindowScene) else { return }
window = UIWindow(windowScene: windowScene) // SceneDelegate의 프로퍼티에 설정해줌
let mainViewController = ViewController() // 맨 처음 보여줄 ViewController

window?.rootViewController = mainViewController
window?.makeKeyAndVisible()
}

func sceneDidDisconnect(_ scene: UIScene) {
Expand Down
Loading