Skip to content

Commit

Permalink
➕[ADD] : #139 SocialJoinService 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
comeheredart committed Oct 18, 2021
1 parent bf0d8b1 commit bcc66c6
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
4 changes: 4 additions & 0 deletions ChaRo-iOS/ChaRo-iOS.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@
70D63E38269646D30036484B /* ThemePostAllTVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 70D63E36269646D30036484B /* ThemePostAllTVC.swift */; };
70D63E39269646D30036484B /* ThemePostAllTVC.xib in Resources */ = {isa = PBXBuildFile; fileRef = 70D63E37269646D30036484B /* ThemePostAllTVC.xib */; };
70F5D7B9271D954F00FF9229 /* SNSJoinVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 70F5D7B8271D954F00FF9229 /* SNSJoinVC.swift */; };
70F5D7BB271D9DBC00FF9229 /* SocialJoinService.swift in Sources */ = {isa = PBXBuildFile; fileRef = 70F5D7BA271D9DBB00FF9229 /* SocialJoinService.swift */; };
F42DA7FD2692235C003DA0DC /* PostTitleDataModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = F42DA7FC2692235C003DA0DC /* PostTitleDataModel.swift */; };
F42DA8042694AF82003DA0DC /* PostImagesTVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = F42DA8032694AF82003DA0DC /* PostImagesTVC.swift */; };
F42DA80E2694D47F003DA0DC /* PostCourseThemeTVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = F42DA80D2694D47F003DA0DC /* PostCourseThemeTVC.swift */; };
Expand Down Expand Up @@ -375,6 +376,7 @@
70D63E36269646D30036484B /* ThemePostAllTVC.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ThemePostAllTVC.swift; sourceTree = "<group>"; };
70D63E37269646D30036484B /* ThemePostAllTVC.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = ThemePostAllTVC.xib; sourceTree = "<group>"; };
70F5D7B8271D954F00FF9229 /* SNSJoinVC.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SNSJoinVC.swift; sourceTree = "<group>"; };
70F5D7BA271D9DBB00FF9229 /* SocialJoinService.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SocialJoinService.swift; sourceTree = "<group>"; };
F42DA7FC2692235C003DA0DC /* PostTitleDataModel.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PostTitleDataModel.swift; sourceTree = "<group>"; };
F42DA8032694AF82003DA0DC /* PostImagesTVC.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PostImagesTVC.swift; sourceTree = "<group>"; };
F42DA80D2694D47F003DA0DC /* PostCourseThemeTVC.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PostCourseThemeTVC.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -491,6 +493,7 @@
7062C84A270CDE6F00C1CD2E /* IsDuplicatedNicknameService.swift */,
7062C84C270CE46400C1CD2E /* SocialLoginService.swift */,
7062C8562710C99400C1CD2E /* EmailJoinService.swift */,
70F5D7BA271D9DBB00FF9229 /* SocialJoinService.swift */,
);
path = Services;
sourceTree = "<group>";
Expand Down Expand Up @@ -1399,6 +1402,7 @@
F42DA7FD2692235C003DA0DC /* PostTitleDataModel.swift in Sources */,
7062C84D270CE46400C1CD2E /* SocialLoginService.swift in Sources */,
70D63DED2693938E0036484B /* UIImage+.swift in Sources */,
70F5D7BB271D9DBC00FF9229 /* SocialJoinService.swift in Sources */,
3C7DF0F7269AEE7D0021939C /* SearchResultVC.swift in Sources */,
F468C0F6269DDA290019B1B3 /* Notification.Name.swift in Sources */,
70D63E252694E13B0036484B /* ThemePostVC.swift in Sources */,
Expand Down
8 changes: 8 additions & 0 deletions ChaRo-iOS/ChaRo-iOS/Source/Services/SocialJoinService.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
//
// SocialJoinService.swift
// ChaRo-iOS
//
// Created by JEN Lee on 2021/10/18.
//

import Foundation
Original file line number Diff line number Diff line change
Expand Up @@ -170,14 +170,11 @@ class SNSLoginVC: UIViewController {

let storyboard = UIStoryboard(name: "Join", bundle: nil)
let nextVC = storyboard.instantiateViewController(withIdentifier: SNSJoinVC.identifier) as? SNSJoinVC
//nextVC?.modalPresentationStyle = .fullScreen
//self.present(nextVC!, animated: true, completion: nil)
self.navigationController?.pushViewController(nextVC!, animated: true)

nextVC?.contractView.nextButton.nextPageClosure = {
switch self.snsType {
case "A":
print(self.snsType)
print("여기서 애플 회원가입 api 날리기")
break

Expand Down

0 comments on commit bcc66c6

Please sign in to comment.