-
Notifications
You must be signed in to change notification settings - Fork 15
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
[Fix] #395 - 딥링크 변경 사항 반영 및 baseURL trailing slash 수정 #397
Conversation
|
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이. 아주 이븐하게. 익었군요 . 생존입니다.
ㅎㅎ~ 수고 많으셨습니다! 얼른 저도 작업 끝내 올게요 총총.. 🫶🏻
make.top.equalTo(view.safeAreaLayoutGuide).offset(2.adjustedH) | ||
make.leading.equalToSuperview().inset(8.adjusted) | ||
make.top.equalTo(view.safeAreaLayoutGuide).offset(2) | ||
make.leading.equalToSuperview().inset(8) | ||
make.size.equalTo(40) |
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.
저도 이렇게 맞추겠습니다!
|
||
return coordinator | ||
} | ||
|
||
@discardableResult |
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.
감사감사합ㄴ디ㅏ 🥹~..
public var isDestination = false | ||
|
||
public func execute(with coordinator: Coordinator, queryItems: [URLQueryItem]?) -> Coordinator? { | ||
guard let coordinator = coordinator as? DailySoptuneCoordinator else { return nil } | ||
guard let coordinator = coordinator as? ApplicationCoordinator else { return nil } | ||
|
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.
조아요
@@ -52,7 +52,8 @@ open class BaseService<Target: TargetType> { | |||
}() | |||
|
|||
private let endpointClosure = { (target: API) -> Endpoint in | |||
let url = target.baseURL.appendingPathComponent(target.path).absoluteString | |||
let url = target.path.isEmpty ? target.baseURL.absoluteString : target.baseURL.appendingPathComponent(target.path).absoluteString | |||
|
|||
var endpoint: Endpoint = Endpoint(url: url, |
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.
요걸 바로 발견하구 . 해결해버링 . 짱짱 개발자
@@ -45,7 +45,7 @@ extension DefaultDailySoptuneUseCase: DailySoptuneUseCase { | |||
.withUnretained(self) | |||
.sink { event in | |||
print("GetDailySoptuneResult State: \(event)") | |||
} receiveValue: { _, resultModel in | |||
} receiveValue: { owner, resultModel in |
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.
혹시 어떤 방식이 더 편하신가요 ? 기존 코드를 보니 withUnretained
와 guard let
이 혼재되어서 이번 기회에 하나로 통합하면 좋을 것 같아서요 !!
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.
withUnretained
를 써주는 게 가독성면에서 더 조을 것 같아서..! 이 쪽으로 통합했으면 좋겠습니다 !-!
🌴 PR 요약
🌱 작업한 브랜치
🌱 PR Point
📌 참고 사항
딥링크 코드 수정
baseURL trailing slash 오류 해결
/
가 자동으로 추가되는 문제가 있어 Moya의 URL+Moya 파일을 참고하여 수정했어요.솝마디 뷰 레이아웃 수정
📸 스크린샷
📮 관련 이슈