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
149 changes: 149 additions & 0 deletions Kream.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,45 @@

/* Begin PBXBuildFile section */
5239955B2CAEF016005A358A /* SnapKit in Frameworks */ = {isa = PBXBuildFile; productRef = 5239955A2CAEF016005A358A /* SnapKit */; };

52C6308B2CE1FF740098C775 /* KakaoSDK in Frameworks */ = {isa = PBXBuildFile; productRef = 52C6308A2CE1FF740098C775 /* KakaoSDK */; };
52C6308D2CE1FF740098C775 /* KakaoSDKAuth in Frameworks */ = {isa = PBXBuildFile; productRef = 52C6308C2CE1FF740098C775 /* KakaoSDKAuth */; };
52C6308F2CE1FF740098C775 /* KakaoSDKCert in Frameworks */ = {isa = PBXBuildFile; productRef = 52C6308E2CE1FF740098C775 /* KakaoSDKCert */; };
52C630912CE1FF740098C775 /* KakaoSDKCertCore in Frameworks */ = {isa = PBXBuildFile; productRef = 52C630902CE1FF740098C775 /* KakaoSDKCertCore */; };
52C630932CE1FF740098C775 /* KakaoSDKCommon in Frameworks */ = {isa = PBXBuildFile; productRef = 52C630922CE1FF740098C775 /* KakaoSDKCommon */; };
52C630952CE1FF740098C775 /* KakaoSDKFriend in Frameworks */ = {isa = PBXBuildFile; productRef = 52C630942CE1FF740098C775 /* KakaoSDKFriend */; };
52C630972CE1FF740098C775 /* KakaoSDKFriendCore in Frameworks */ = {isa = PBXBuildFile; productRef = 52C630962CE1FF740098C775 /* KakaoSDKFriendCore */; };
52C630992CE1FF740098C775 /* KakaoSDKNavi in Frameworks */ = {isa = PBXBuildFile; productRef = 52C630982CE1FF740098C775 /* KakaoSDKNavi */; };
52C6309B2CE1FF740098C775 /* KakaoSDKShare in Frameworks */ = {isa = PBXBuildFile; productRef = 52C6309A2CE1FF740098C775 /* KakaoSDKShare */; };
52C6309D2CE1FF740098C775 /* KakaoSDKTalk in Frameworks */ = {isa = PBXBuildFile; productRef = 52C6309C2CE1FF740098C775 /* KakaoSDKTalk */; };
52C6309F2CE1FF740098C775 /* KakaoSDKTemplate in Frameworks */ = {isa = PBXBuildFile; productRef = 52C6309E2CE1FF740098C775 /* KakaoSDKTemplate */; };
52C630A12CE1FF740098C775 /* KakaoSDKUser in Frameworks */ = {isa = PBXBuildFile; productRef = 52C630A02CE1FF740098C775 /* KakaoSDKUser */; };
52C630E02CE4320C0098C775 /* KeychainAccess in Frameworks */ = {isa = PBXBuildFile; productRef = 52C630DF2CE4320C0098C775 /* KeychainAccess */; };

/* End PBXBuildFile section */

/* Begin PBXFileReference section */
52C34CF12CA47B3E00DB8986 /* Kream.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Kream.app; sourceTree = BUILT_PRODUCTS_DIR; };
/* End PBXFileReference section */


/* Begin PBXFileSystemSynchronizedBuildFileExceptionSet section */
52C34D032CA47B4000DB8986 /* Exceptions for "Kream" folder in "Kream" target */ = {
isa = PBXFileSystemSynchronizedBuildFileExceptionSet;
membershipExceptions = (
Info.plist,
);
target = 52C34CF02CA47B3E00DB8986 /* Kream */;
};
/* End PBXFileSystemSynchronizedBuildFileExceptionSet section */

/* Begin PBXFileSystemSynchronizedRootGroup section */
52C34CF32CA47B3E00DB8986 /* Kream */ = {
isa = PBXFileSystemSynchronizedRootGroup;
exceptions = (
52C34D032CA47B4000DB8986 /* Exceptions for "Kream" folder in "Kream" target */,
);

path = Kream;
sourceTree = "<group>";
};
Expand All @@ -28,6 +58,21 @@
buildActionMask = 2147483647;
files = (
5239955B2CAEF016005A358A /* SnapKit in Frameworks */,

52C630952CE1FF740098C775 /* KakaoSDKFriend in Frameworks */,
52C630E02CE4320C0098C775 /* KeychainAccess in Frameworks */,
52C6308B2CE1FF740098C775 /* KakaoSDK in Frameworks */,
52C630992CE1FF740098C775 /* KakaoSDKNavi in Frameworks */,
52C630912CE1FF740098C775 /* KakaoSDKCertCore in Frameworks */,
52C6309F2CE1FF740098C775 /* KakaoSDKTemplate in Frameworks */,
52C630972CE1FF740098C775 /* KakaoSDKFriendCore in Frameworks */,
52C6308D2CE1FF740098C775 /* KakaoSDKAuth in Frameworks */,
52C630A12CE1FF740098C775 /* KakaoSDKUser in Frameworks */,
52C6309D2CE1FF740098C775 /* KakaoSDKTalk in Frameworks */,
52C6309B2CE1FF740098C775 /* KakaoSDKShare in Frameworks */,
52C630932CE1FF740098C775 /* KakaoSDKCommon in Frameworks */,
52C6308F2CE1FF740098C775 /* KakaoSDKCert in Frameworks */,

);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -71,6 +116,21 @@
name = Kream;
packageProductDependencies = (
5239955A2CAEF016005A358A /* SnapKit */,

52C6308A2CE1FF740098C775 /* KakaoSDK */,
52C6308C2CE1FF740098C775 /* KakaoSDKAuth */,
52C6308E2CE1FF740098C775 /* KakaoSDKCert */,
52C630902CE1FF740098C775 /* KakaoSDKCertCore */,
52C630922CE1FF740098C775 /* KakaoSDKCommon */,
52C630942CE1FF740098C775 /* KakaoSDKFriend */,
52C630962CE1FF740098C775 /* KakaoSDKFriendCore */,
52C630982CE1FF740098C775 /* KakaoSDKNavi */,
52C6309A2CE1FF740098C775 /* KakaoSDKShare */,
52C6309C2CE1FF740098C775 /* KakaoSDKTalk */,
52C6309E2CE1FF740098C775 /* KakaoSDKTemplate */,
52C630A02CE1FF740098C775 /* KakaoSDKUser */,
52C630DF2CE4320C0098C775 /* KeychainAccess */,

);
productName = Kream;
productReference = 52C34CF12CA47B3E00DB8986 /* Kream.app */;
Expand Down Expand Up @@ -102,6 +162,10 @@
minimizedProjectReferenceProxies = 1;
packageReferences = (
523995592CAEF016005A358A /* XCRemoteSwiftPackageReference "SnapKit" */,

52C630892CE1FF740098C775 /* XCRemoteSwiftPackageReference "kakao-ios-sdk" */,
52C630DE2CE4320C0098C775 /* XCRemoteSwiftPackageReference "KeychainAccess" */,

);
preferredProjectObjectVersion = 77;
productRefGroup = 52C34CF22CA47B3E00DB8986 /* Products */;
Expand Down Expand Up @@ -337,6 +401,24 @@
minimumVersion = 5.7.1;
};
};

52C630892CE1FF740098C775 /* XCRemoteSwiftPackageReference "kakao-ios-sdk" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/kakao/kakao-ios-sdk";
requirement = {
kind = upToNextMajorVersion;
minimumVersion = 2.23.0;
};
};
52C630DE2CE4320C0098C775 /* XCRemoteSwiftPackageReference "KeychainAccess" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/kishikawakatsumi/KeychainAccess";
requirement = {
branch = master;
kind = branch;
};
};

/* End XCRemoteSwiftPackageReference section */

/* Begin XCSwiftPackageProductDependency section */
Expand All @@ -345,6 +427,73 @@
package = 523995592CAEF016005A358A /* XCRemoteSwiftPackageReference "SnapKit" */;
productName = SnapKit;
};

52C6308A2CE1FF740098C775 /* KakaoSDK */ = {
isa = XCSwiftPackageProductDependency;
package = 52C630892CE1FF740098C775 /* XCRemoteSwiftPackageReference "kakao-ios-sdk" */;
productName = KakaoSDK;
};
52C6308C2CE1FF740098C775 /* KakaoSDKAuth */ = {
isa = XCSwiftPackageProductDependency;
package = 52C630892CE1FF740098C775 /* XCRemoteSwiftPackageReference "kakao-ios-sdk" */;
productName = KakaoSDKAuth;
};
52C6308E2CE1FF740098C775 /* KakaoSDKCert */ = {
isa = XCSwiftPackageProductDependency;
package = 52C630892CE1FF740098C775 /* XCRemoteSwiftPackageReference "kakao-ios-sdk" */;
productName = KakaoSDKCert;
};
52C630902CE1FF740098C775 /* KakaoSDKCertCore */ = {
isa = XCSwiftPackageProductDependency;
package = 52C630892CE1FF740098C775 /* XCRemoteSwiftPackageReference "kakao-ios-sdk" */;
productName = KakaoSDKCertCore;
};
52C630922CE1FF740098C775 /* KakaoSDKCommon */ = {
isa = XCSwiftPackageProductDependency;
package = 52C630892CE1FF740098C775 /* XCRemoteSwiftPackageReference "kakao-ios-sdk" */;
productName = KakaoSDKCommon;
};
52C630942CE1FF740098C775 /* KakaoSDKFriend */ = {
isa = XCSwiftPackageProductDependency;
package = 52C630892CE1FF740098C775 /* XCRemoteSwiftPackageReference "kakao-ios-sdk" */;
productName = KakaoSDKFriend;
};
52C630962CE1FF740098C775 /* KakaoSDKFriendCore */ = {
isa = XCSwiftPackageProductDependency;
package = 52C630892CE1FF740098C775 /* XCRemoteSwiftPackageReference "kakao-ios-sdk" */;
productName = KakaoSDKFriendCore;
};
52C630982CE1FF740098C775 /* KakaoSDKNavi */ = {
isa = XCSwiftPackageProductDependency;
package = 52C630892CE1FF740098C775 /* XCRemoteSwiftPackageReference "kakao-ios-sdk" */;
productName = KakaoSDKNavi;
};
52C6309A2CE1FF740098C775 /* KakaoSDKShare */ = {
isa = XCSwiftPackageProductDependency;
package = 52C630892CE1FF740098C775 /* XCRemoteSwiftPackageReference "kakao-ios-sdk" */;
productName = KakaoSDKShare;
};
52C6309C2CE1FF740098C775 /* KakaoSDKTalk */ = {
isa = XCSwiftPackageProductDependency;
package = 52C630892CE1FF740098C775 /* XCRemoteSwiftPackageReference "kakao-ios-sdk" */;
productName = KakaoSDKTalk;
};
52C6309E2CE1FF740098C775 /* KakaoSDKTemplate */ = {
isa = XCSwiftPackageProductDependency;
package = 52C630892CE1FF740098C775 /* XCRemoteSwiftPackageReference "kakao-ios-sdk" */;
productName = KakaoSDKTemplate;
};
52C630A02CE1FF740098C775 /* KakaoSDKUser */ = {
isa = XCSwiftPackageProductDependency;
package = 52C630892CE1FF740098C775 /* XCRemoteSwiftPackageReference "kakao-ios-sdk" */;
productName = KakaoSDKUser;
};
52C630DF2CE4320C0098C775 /* KeychainAccess */ = {
isa = XCSwiftPackageProductDependency;
package = 52C630DE2CE4320C0098C775 /* XCRemoteSwiftPackageReference "KeychainAccess" */;
productName = KeychainAccess;
};

/* End XCSwiftPackageProductDependency section */
};
rootObject = 52C34CE92CA47B3E00DB8986 /* Project object */;
Expand Down
16 changes: 12 additions & 4 deletions Kream/AppDelegate.swift
Original file line number Diff line number Diff line change
@@ -1,18 +1,26 @@
import UIKit

import KakaoSDKCommon


@main
class AppDelegate: UIResponder, UIApplicationDelegate {

var window: UIWindow?

func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {


// Kakao SDK 초기화
KakaoSDK.initSDK(appKey: "2c8ab94e144d90c1bb9598fb2443dea1")
Copy link
Contributor

Choose a reason for hiding this comment

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

API KEY를 퍼블릭 레포지토리로 공유하는 건 절대 하면 안돼요!


// 윈도우 생성 및 설정
window = UIWindow(frame: UIScreen.main.bounds)
// 로그인 화면을 루트 뷰 컨트롤러로 설정

// ProductDetailViewController를 루트 뷰 컨트롤러로 설정
let loginViewController = LoginViewController()
window?.rootViewController = loginViewController
let navigationController = UINavigationController(rootViewController: loginViewController)
window?.rootViewController = navigationController

window?.makeKeyAndVisible()

return true
Expand Down
6 changes: 6 additions & 0 deletions Kream/Assets.xcassets/productDetail/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"info" : {
"author" : "xcode",
"version" : 1
}
}
21 changes: 21 additions & 0 deletions Kream/Assets.xcassets/productDetail/color_1.imageset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"images" : [
{
"filename" : "Rectangle 9653.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions Kream/Assets.xcassets/productDetail/color_2.imageset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"images" : [
{
"filename" : "Rectangle 9652.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions Kream/Assets.xcassets/productDetail/color_3.imageset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"images" : [
{
"filename" : "Rectangle 9654.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions Kream/Assets.xcassets/productDetail/color_4.imageset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"images" : [
{
"filename" : "Rectangle 9655.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions Kream/Assets.xcassets/productDetail/color_5.imageset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"images" : [
{
"filename" : "Rectangle 9656.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions Kream/Assets.xcassets/productDetail/color_6.imageset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"images" : [
{
"filename" : "Rectangle 9657.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"images" : [
{
"filename" : "matinKim.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading