-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
81 additions
and
7 deletions.
There are no files selected for viewing
This file contains 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 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
42 changes: 42 additions & 0 deletions
42
KkuMulKum/Source/EditPromise/ViewController/EditPromiseViewController.swift
This file contains 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,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: 꾸물이 선택 뷰 연결 | ||
} | ||
} |