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] 네트워크 오류시 띄우는 얼럿 뷰 추가 및 홈 컨트롤러 levelProgressView 이슈 (#210) #211
The head ref may contain hidden characters: "feat/#210-\uC5BC\uB7FF\uBDF0"
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.
수고하셨어요~!
hideLoading() 위치 조정한건 한번 테스트를 해봐야겠네요..!
@@ -44,4 +44,15 @@ extension UIViewController { | |||
endPoint: CGPoint(x: 2.4, y: 0.4)) | |||
} | |||
|
|||
func makeAlert(title: String, message: String? = 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.
👍
@@ -14,11 +14,10 @@ class LoadingIndicator { | |||
guard let window = UIApplication.shared.windows.last else { return } | |||
|
|||
let loadingIndicatorView: UIActivityIndicatorView | |||
if let existedView = window.subviews.first(where: { $0 is UIActivityIndicatorView } ) as? UIActivityIndicatorView { | |||
if let existedView = window.subviews.first(where: { $0 is UIActivityIndicatorView }) as? UIActivityIndicatorView { |
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.
역시 인간 린트..
@@ -86,7 +86,7 @@ extension AuthViewController { | |||
LoadingIndicator.hideLoading() | |||
self.dismiss(animated: true) | |||
default: | |||
LoadingIndicator.hideLoading() |
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.
hideLoading() 없애면 로딩 뷰가 계속 보이고 그 위에 Alert가 뜰 거 같은데 괜찮을까요?
func makeAlert(title: String, message: String? = nil, | ||
okTitle: String = "확인", okAction: ((UIAlertAction) -> Void)? = nil, | ||
completion : (() -> Void)? = nil) { | ||
let generator = UIImpactFeedbackGenerator(style: .medium) |
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.
여기에 hideLoading()을 넣어주는 것도 괜찮겠네요!
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.
넵 수정하겠습니다
💥 관련 이슈
💥 구현/변경 사항 및 이유
💥 참고 사항