generated from ApptiveDev/project-template
-
Notifications
You must be signed in to change notification settings - Fork 0
feat - 카카오 로그인 기능 추가 및 로그인 페이지 UI 업데이트 #10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
216caa2
feat(APIConfig): development, release 환경변수 xcconfig 설정
mark77234 28cea93
chore(kakao): 카카오 sdk 설정 및 패키지 추가
mark77234 1737aee
feat(kakao): 카카오 sdk 설정 및 로그인 화면 연동
mark77234 24e8bbc
feat(LoginView): 로그인 UI 업데이트
mark77234 ae91e12
refactor(LoginView): 로그인 화면 리팩토링 및 영상 멈춤 이슈 대응
mark77234 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
|---|---|---|
|
|
@@ -12,6 +12,7 @@ DerivedData/ | |
| *.xccheckout | ||
| *.xcscmblueprint | ||
| *.moved-aside | ||
| *.xcconfig | ||
|
|
||
| # Swift Package Manager | ||
| .build/ | ||
|
|
||
This file contains hidden or 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
24 changes: 24 additions & 0 deletions
24
KillingPart.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or 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,6 @@ | ||
| { | ||
| "info" : { | ||
| "author" : "xcode", | ||
| "version" : 1 | ||
| } | ||
| } |
15 changes: 15 additions & 0 deletions
15
KillingPart/Assets.xcassets/Login/kakaoTalkBubble.imageset/Contents.json
This file contains hidden or 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,15 @@ | ||
| { | ||
| "images" : [ | ||
| { | ||
| "filename" : "maintabIcoChats.pdf", | ||
| "idiom" : "universal" | ||
| } | ||
| ], | ||
| "info" : { | ||
| "author" : "xcode", | ||
| "version" : 1 | ||
| }, | ||
| "properties" : { | ||
| "template-rendering-intent" : "template" | ||
| } | ||
| } |
Binary file added
BIN
+4.21 KB
KillingPart/Assets.xcassets/Login/kakaoTalkBubble.imageset/maintabIcoChats.pdf
Binary file not shown.
23 changes: 23 additions & 0 deletions
23
KillingPart/Assets.xcassets/Login/loginTitle.imageset/Contents.json
This file contains hidden or 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,23 @@ | ||
| { | ||
| "images" : [ | ||
| { | ||
| "filename" : "loginTitle.png", | ||
| "idiom" : "universal", | ||
| "scale" : "1x" | ||
| }, | ||
| { | ||
| "filename" : "loginTitle 1.png", | ||
| "idiom" : "universal", | ||
| "scale" : "2x" | ||
| }, | ||
| { | ||
| "filename" : "loginTitle 2.png", | ||
| "idiom" : "universal", | ||
| "scale" : "3x" | ||
| } | ||
| ], | ||
| "info" : { | ||
| "author" : "xcode", | ||
| "version" : 1 | ||
| } | ||
| } |
Binary file added
BIN
+37.3 KB
KillingPart/Assets.xcassets/Login/loginTitle.imageset/loginTitle 1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+37.3 KB
KillingPart/Assets.xcassets/Login/loginTitle.imageset/loginTitle 2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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 hidden or 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 hidden or 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,11 @@ | ||
| import Foundation | ||
|
|
||
| struct KakaoSocialLoginRequest: Encodable { | ||
| let accessToken: String | ||
| } | ||
|
|
||
| struct KakaoSocialLoginResponse: Decodable { | ||
| let accessToken: String | ||
| let refreshToken: String | ||
| let isNew: Bool | ||
| } |
Binary file not shown.
This file contains hidden or 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,25 @@ | ||
| import Foundation | ||
|
|
||
| enum APIConfiguration { | ||
| static let baseURL: URL = { | ||
| guard | ||
| let baseURLString = Bundle.main.object(forInfoDictionaryKey: "BASE_URL") as? String, | ||
| let baseURL = URL(string: baseURLString), | ||
| baseURL.scheme != nil, | ||
| baseURL.host != nil | ||
| else { | ||
| preconditionFailure( | ||
| "BASE_URL is missing or invalid (\(Bundle.main.object(forInfoDictionaryKey: "BASE_URL") as? String ?? "nil")). Check your xcconfig values." | ||
| ) | ||
| } | ||
|
|
||
| return baseURL | ||
| }() | ||
|
|
||
| static func endpoint(path: String) -> URL { | ||
| let components = path.split(separator: "/").map(String.init) | ||
| return components.reduce(baseURL) { partialURL, component in | ||
| partialURL.appendingPathComponent(component) | ||
| } | ||
| } | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Kakao SDK dependency is pinned to the master branch instead of a specific version. This can lead to unexpected breaking changes when the dependency updates automatically. Consider pinning to a specific version tag or at minimum using a version range to ensure stability and reproducible builds.