-
Notifications
You must be signed in to change notification settings - Fork 1
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
[Design] #170 - Design 수정사항 반영 #172
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.
Lottie 소녀 고마워요
수고했소
if UIScreen.getDeviceWidth() > 331 { | ||
$0.width.equalTo(331) | ||
} else { | ||
$0.horizontalEdges.equalToSuperview().inset(22) | ||
} |
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.
p3
분기처리 LGTM
$0.center.equalToSuperview() | ||
} | ||
|
||
|
||
// TODO: - 버튼 패딩 값으로 바꾸기 |
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.
p3
친절하오
var style: MainButton.Style { | ||
switch self { | ||
case .secondary: | ||
MainButton.Style(ableBackgroundColor: .white, disableBackgroundColor: .white, textColor: .hankkiRed) | ||
default: | ||
MainButton.Style(ableBackgroundColor: .hankkiRed, disableBackgroundColor: .hankkiSemiRed, textColor: .white) | ||
} | ||
} |
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.
p3
오.. 여기서 바로 해도 좋군요... HomeView filtering Button도 이렇게 해봐야겠소
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.
LGTM
@@ -8,6 +8,7 @@ | |||
import Foundation | |||
|
|||
struct GetMeResponseData: Codable { | |||
// TODO: - 서현) Server 업데이트 되면 Image 부분 지우기 디코딩 에러난다!!!!! |
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.
p3
CUTE
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.
고생했어요~!!
var style: MainButton.Style { | ||
switch self { | ||
case .secondary: | ||
MainButton.Style(ableBackgroundColor: .white, disableBackgroundColor: .white, textColor: .hankkiRed) | ||
default: | ||
MainButton.Style(ableBackgroundColor: .hankkiRed, disableBackgroundColor: .hankkiSemiRed, textColor: .white) | ||
} | ||
} |
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.
LGTM
static func showLoadingView() { | ||
if let windowScene = UIApplication.shared.connectedScenes.first as? UIWindowScene, | ||
let delegate = windowScene.delegate as? SceneDelegate, | ||
let rootViewController = delegate.window?.rootViewController as? UINavigationController, | ||
let currentViewController = rootViewController.topViewController as? BaseViewController { | ||
currentViewController.showLoadingView() | ||
} | ||
} | ||
|
||
static func dismissLoadingView() { | ||
if let windowScene = UIApplication.shared.connectedScenes.first as? UIWindowScene, | ||
let delegate = windowScene.delegate as? SceneDelegate, | ||
let rootViewController = delegate.window?.rootViewController as? UINavigationController, | ||
let currentViewController = rootViewController.topViewController as? BaseViewController { | ||
currentViewController.dismissLoadingView() | ||
} | ||
} |
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.
아주 좋소
print("--> ❌🍚❌유효하지 않은 요청❌🍚❌") | ||
return | ||
} | ||
DispatchQueue.main.async { | ||
UIApplication.showLoadingView() | ||
} | ||
|
||
let url = httpRequest.description |
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.
천재 발생
private extension BaseViewController { | ||
func setupLoadingView() { |
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.
최고
@@ -11,7 +11,7 @@ final class HankkiReportOptionFooterView: BaseCollectionReusableView { | |||
|
|||
// MARK: - UI Components | |||
|
|||
let hankkiReportButton: MainButton = MainButton(titleText: StringLiterals.Common.report) | |||
let hankkiReportButton: MainButton = MainButton(titleText: StringLiterals.Common.report, isDisable: true) |
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.
고맙소
🔥 Pull requests
👷 작업한 내용
🚨 참고 사항
로딩뷰가 추가되었습니다.
네트워크 통신 시작~응답 받기까지 진행됩니다.
로딩뷰 관련 함수와, UIComponents가 추가되었습니다.
Base View Controller에 기본적인 로딩뷰가 내제되어있고 on off 되는 방식으로 진행됩니다.
✅ Check List
📟 관련 이슈