-
Notifications
You must be signed in to change notification settings - Fork 6
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
[Feat] #208 코스업로드 api 연결 #210
The head ref may contain hidden characters: "#208-\uCF54\uC2A4\uC5C5\uB85C\uB4DC"
Conversation
var completeButtonTapped: Driver<Void> { | ||
completeButton.publisher(for: .touchUpInside) | ||
.map { _ in } | ||
.asDriver() | ||
} |
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.
버튼에 publisher를 연결하는 과정을 combineCocoa를 사용하는 것으로 수정했습니다
self.completeButton.tapPublisher.sink { [weak self] _ in | ||
guard let self = self else { return } | ||
guard let text = self.bottomSheetTextField.text else { return } | ||
self.completeButtonTapAction?(text) | ||
}.store(in: cancelBag) |
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.
완성하기 버튼이 눌린 경우는 textfield의 내용을 클로저에 전달해주었습니다
@@ -18,6 +18,7 @@ struct CourseDrawingRequestDto: Codable { | |||
|
|||
struct CourseDrawingRequestData: Codable { | |||
let path: [RNLocationModel] | |||
// let title: String |
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.
서버 배포되면 title 관련 주석 삭제하도록 하겠습니당
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.
넵
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.
수고 하셨습니다~
SelectedInfo.shared.type = .other | ||
courseDrawingVC.setData(model: departureLocationModel) |
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.
순서의 중요성
@@ -25,14 +26,11 @@ final class CustomBottomSheetVC: UIViewController { | |||
private var BottomsheetType: SheetType! | |||
|
|||
var backgroundTapAction: (() -> Void)? | |||
var completeButtonTapAction: ((String) -> Void)? |
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.
굿굿 감사합니다
@@ -18,6 +18,7 @@ struct CourseDrawingRequestDto: Codable { | |||
|
|||
struct CourseDrawingRequestData: Codable { | |||
let path: [RNLocationModel] | |||
// let title: String |
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.
넵
🌱 작업한 내용
🌱 PR Point
📮 관련 이슈