diff --git a/KkuMulKum.xcodeproj/project.pbxproj b/KkuMulKum.xcodeproj/project.pbxproj index 04497f0f..9038c771 100644 --- a/KkuMulKum.xcodeproj/project.pbxproj +++ b/KkuMulKum.xcodeproj/project.pbxproj @@ -27,13 +27,13 @@ 784824F72C6E1C9900FE07A0 /* AuthServiceProtocol.swift in Sources */ = {isa = PBXBuildFile; fileRef = 784824F62C6E1C9900FE07A0 /* AuthServiceProtocol.swift */; }; 784824FC2C75BF7900FE07A0 /* MyPageViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 784824FB2C75BF7900FE07A0 /* MyPageViewModel.swift */; }; 784824FE2C75F25900FE07A0 /* MyPageEditViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 784824FD2C75F25900FE07A0 /* MyPageEditViewController.swift */; }; - 784825092C77623C00FE07A0 /* MypageTargetType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 784825082C77623C00FE07A0 /* MypageTargetType.swift */; }; - 7848250B2C77627200FE07A0 /* UserService.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7848250A2C77627200FE07A0 /* UserService.swift */; }; - 784825112C77666500FE07A0 /* MyPageUserServiceType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 784825102C77666500FE07A0 /* MyPageUserServiceType.swift */; }; 784825012C77016400FE07A0 /* MyPageEditView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 784825002C77016400FE07A0 /* MyPageEditView.swift */; }; 784825032C77016F00FE07A0 /* MyPageEditViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 784825022C77016F00FE07A0 /* MyPageEditViewModel.swift */; }; 784825052C7716E900FE07A0 /* MyPageAskViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 784825042C7716E900FE07A0 /* MyPageAskViewController.swift */; }; 784825072C77215B00FE07A0 /* MyPageTermsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 784825062C77215B00FE07A0 /* MyPageTermsViewController.swift */; }; + 784825092C77623C00FE07A0 /* MypageTargetType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 784825082C77623C00FE07A0 /* MypageTargetType.swift */; }; + 7848250B2C77627200FE07A0 /* UserService.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7848250A2C77627200FE07A0 /* UserService.swift */; }; + 784825112C77666500FE07A0 /* MyPageUserServiceType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 784825102C77666500FE07A0 /* MyPageUserServiceType.swift */; }; 784E4D942C3B1C7F00BC943C /* KakaoSDK in Frameworks */ = {isa = PBXBuildFile; productRef = 784E4D932C3B1C7F00BC943C /* KakaoSDK */; }; 784E4D962C3B1C7F00BC943C /* KakaoSDKAuth in Frameworks */ = {isa = PBXBuildFile; productRef = 784E4D952C3B1C7F00BC943C /* KakaoSDKAuth */; }; 784E4D992C3B95A900BC943C /* KeychainAccess in Frameworks */ = {isa = PBXBuildFile; productRef = 784E4D982C3B95A900BC943C /* KeychainAccess */; }; @@ -116,6 +116,8 @@ DD3072222C3C0DA300416D9F /* PromiseParticipantListResponseModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = DD3072212C3C0DA300416D9F /* PromiseParticipantListResponseModel.swift */; }; DD3072242C3C0EB200416D9F /* MyPromiseReadyInfoRequestModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = DD3072232C3C0EB200416D9F /* MyPromiseReadyInfoRequestModel.swift */; }; DD3072262C3C0F0B00416D9F /* TardyInfoModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = DD3072252C3C0F0B00416D9F /* TardyInfoModel.swift */; }; + DD34664E2C7B023F00E62284 /* EditPromiseViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = DD34664D2C7B023F00E62284 /* EditPromiseViewController.swift */; }; + DD3466532C7B044F00E62284 /* ChooseMemberViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = DD3466522C7B044F00E62284 /* ChooseMemberViewController.swift */; }; DD3976682C41769400E2A4C4 /* CreateMeetingViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = DD3976672C41769400E2A4C4 /* CreateMeetingViewModel.swift */; }; DD39766F2C41B54400E2A4C4 /* InviteCodeServiceProtocol.swift in Sources */ = {isa = PBXBuildFile; fileRef = DD39766E2C41B54400E2A4C4 /* InviteCodeServiceProtocol.swift */; }; DD3976832C41C2AD00E2A4C4 /* HomeViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = DD3976772C41C2AD00E2A4C4 /* HomeViewModel.swift */; }; @@ -267,13 +269,13 @@ 784824F62C6E1C9900FE07A0 /* AuthServiceProtocol.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AuthServiceProtocol.swift; sourceTree = ""; }; 784824FB2C75BF7900FE07A0 /* MyPageViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MyPageViewModel.swift; sourceTree = ""; }; 784824FD2C75F25900FE07A0 /* MyPageEditViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MyPageEditViewController.swift; sourceTree = ""; }; - 784825082C77623C00FE07A0 /* MypageTargetType.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MypageTargetType.swift; sourceTree = ""; }; - 7848250A2C77627200FE07A0 /* UserService.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UserService.swift; sourceTree = ""; }; - 784825102C77666500FE07A0 /* MyPageUserServiceType.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MyPageUserServiceType.swift; sourceTree = ""; }; 784825002C77016400FE07A0 /* MyPageEditView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MyPageEditView.swift; sourceTree = ""; }; 784825022C77016F00FE07A0 /* MyPageEditViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MyPageEditViewModel.swift; sourceTree = ""; }; 784825042C7716E900FE07A0 /* MyPageAskViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MyPageAskViewController.swift; sourceTree = ""; }; 784825062C77215B00FE07A0 /* MyPageTermsViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MyPageTermsViewController.swift; sourceTree = ""; }; + 784825082C77623C00FE07A0 /* MypageTargetType.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MypageTargetType.swift; sourceTree = ""; }; + 7848250A2C77627200FE07A0 /* UserService.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UserService.swift; sourceTree = ""; }; + 784825102C77666500FE07A0 /* MyPageUserServiceType.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MyPageUserServiceType.swift; sourceTree = ""; }; 789196332C486F6B00FF8CDF /* KeychainAccessible.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = KeychainAccessible.swift; sourceTree = ""; }; 789196352C492F8600FF8CDF /* AuthTargetType.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AuthTargetType.swift; sourceTree = ""; }; 789196372C49697B00FF8CDF /* AuthError.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AuthError.swift; sourceTree = ""; }; @@ -324,6 +326,8 @@ DD3072212C3C0DA300416D9F /* PromiseParticipantListResponseModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PromiseParticipantListResponseModel.swift; sourceTree = ""; }; DD3072232C3C0EB200416D9F /* MyPromiseReadyInfoRequestModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MyPromiseReadyInfoRequestModel.swift; sourceTree = ""; }; DD3072252C3C0F0B00416D9F /* TardyInfoModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TardyInfoModel.swift; sourceTree = ""; }; + DD34664D2C7B023F00E62284 /* EditPromiseViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = EditPromiseViewController.swift; sourceTree = ""; }; + DD3466522C7B044F00E62284 /* ChooseMemberViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ChooseMemberViewController.swift; sourceTree = ""; }; DD3976672C41769400E2A4C4 /* CreateMeetingViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CreateMeetingViewModel.swift; sourceTree = ""; }; DD39766E2C41B54400E2A4C4 /* InviteCodeServiceProtocol.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = InviteCodeServiceProtocol.swift; sourceTree = ""; }; DD3976722C41B6C800E2A4C4 /* CreateMeetingServiceProtocol.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CreateMeetingServiceProtocol.swift; sourceTree = ""; }; @@ -826,6 +830,31 @@ path = View; sourceTree = ""; }; + DD34664B2C7B020400E62284 /* EditPromise */ = { + isa = PBXGroup; + children = ( + DD34664C2C7B021C00E62284 /* ViewController */, + DD34664F2C7B024D00E62284 /* View */, + ); + path = EditPromise; + sourceTree = ""; + }; + DD34664C2C7B021C00E62284 /* ViewController */ = { + isa = PBXGroup; + children = ( + DD34664D2C7B023F00E62284 /* EditPromiseViewController.swift */, + DD3466522C7B044F00E62284 /* ChooseMemberViewController.swift */, + ); + path = ViewController; + sourceTree = ""; + }; + DD34664F2C7B024D00E62284 /* View */ = { + isa = PBXGroup; + children = ( + ); + path = View; + sourceTree = ""; + }; DD3976692C41769900E2A4C4 /* ViewModel */ = { isa = PBXGroup; children = ( @@ -1295,6 +1324,7 @@ DECB844E2C43FB200022A003 /* AddPromise */, DD7AB15F2C513B66008308DE /* SetReadyInfo */, DDAF1C872C3D6E3D008A37D3 /* Promise */, + DD34664B2C7B020400E62284 /* EditPromise */, DE159D312C406E1600425101 /* MyPage */, ); path = Source; @@ -1843,6 +1873,7 @@ 789873342C3D1A7B00435E96 /* LoginView.swift in Sources */, 782B40822C3E4925008B0CA7 /* NicknameViewModel.swift in Sources */, A3FB18592C3BF77D001483E5 /* MeetingInfoResponseModel.swift in Sources */, + DD3466532C7B044F00E62284 /* ChooseMemberViewController.swift in Sources */, DEA932182C3F180800FDF637 /* MeetingPromisesModel.swift in Sources */, DE159D342C406E1600425101 /* MyPageEtcSettingView.swift in Sources */, DE9E18842C3BA84500DB76B4 /* CustomTextField.swift in Sources */, @@ -1970,6 +2001,7 @@ DECB845C2C4442490022A003 /* FindPlaceViewController.swift in Sources */, DE3309A72C7099A9003F6E76 /* CustomActionSheetController.swift in Sources */, DD8626652C4606A300E4F980 /* OurReadyStatusCollectionViewCell.swift in Sources */, + DD34664E2C7B023F00E62284 /* EditPromiseViewController.swift in Sources */, DEBB8DEF2C77201200C5A528 /* MeetingInfoPromiseModel.swift in Sources */, DDAF1C842C3D5D19008A37D3 /* ViewModelType.swift in Sources */, DDFA50802C4693BD000A62E2 /* ProfileSetupView.swift in Sources */, diff --git a/KkuMulKum/Source/AddPromise/View/AddPromiseView.swift b/KkuMulKum/Source/AddPromise/View/AddPromiseView.swift index cc6835d3..3938f1e8 100644 --- a/KkuMulKum/Source/AddPromise/View/AddPromiseView.swift +++ b/KkuMulKum/Source/AddPromise/View/AddPromiseView.swift @@ -21,7 +21,7 @@ final class AddPromiseView: BaseView { $0.setText("1/3", style: .body05, color: .gray6) } - private let titleLabel = UILabel().then { + let titleLabel = UILabel().then { $0.setText("약속을\n추가해 주세요", style: .head01, color: .gray8) } diff --git a/KkuMulKum/Source/EditPromise/ViewController/EditPromiseViewController.swift b/KkuMulKum/Source/EditPromise/ViewController/EditPromiseViewController.swift new file mode 100644 index 00000000..06e22f77 --- /dev/null +++ b/KkuMulKum/Source/EditPromise/ViewController/EditPromiseViewController.swift @@ -0,0 +1,42 @@ +// +// EditPromiseViewController.swift +// KkuMulKum +// +// Created by YOUJIM on 8/25/24. +// + +import UIKit + +class EditPromiseViewController: BaseViewController { + private let rootView: AddPromiseView = AddPromiseView() + + + // MARK: - LifeCycle + + override func loadView() { + super.loadView() + + view = rootView + } + + + // MARK: - Setup + + override func setupView() { + rootView.titleLabel.text = "약속을\n수정해 주세요" + } + + override func setupAction() { + rootView.confirmButton.addTarget(self, action: #selector(confirmButtonDidTap), for: .touchUpInside) + } +} + + +// MARK: - Extension + +private extension EditPromiseViewController { + @objc + func confirmButtonDidTap() { + // TODO: 꾸물이 선택 뷰 연결 + } +}