Skip to content
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

Merged
merged 6 commits into from Jul 28, 2022

Conversation

devxsby
Copy link
Contributor

@devxsby devxsby commented Jul 28, 2022

💥 관련 이슈

💥 구현/변경 사항 및 이유

  • 네트워크 오류시 띄우는 얼럿 뷰 추가 및 뷰 연결
  • levelProgressView가 제대로 채워지지 않는 이슈 해결

💥 참고 사항

얼럿 뷰 예시 프로그레스 뷰 이슈 해결
Simulator Screen Shot - iPhone 13 mini - 2022-07-28 at 13 57 19 Simulator Screen Shot - iPhone 13 mini - 2022-07-28 at 14 07 56

@devxsby devxsby added 세진✨ 멋쟁이 리드 📬 API 서버 API 통신 🔨 Refactor 리팩토링 수빈✨ 아무것도 모르는 응애 labels Jul 28, 2022
@devxsby devxsby requested review from lsj8706 and ZaidKang July 28, 2022 05:09
@devxsby devxsby self-assigned this Jul 28, 2022
@devxsby devxsby added this to In progress in happic: via automation Jul 28, 2022
Copy link
Contributor

@lsj8706 lsj8706 left a 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,
Copy link
Contributor

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 {
Copy link
Contributor

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()
Copy link
Contributor

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)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

여기에 hideLoading()을 넣어주는 것도 괜찮겠네요!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

넵 수정하겠습니다

@devxsby devxsby merged commit aefb530 into TeamHappic:develop Jul 28, 2022
happic: automation moved this from In progress to Done Jul 28, 2022
@devxsby devxsby deleted the feat/#210-얼럿뷰 branch July 28, 2022 06:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
세진✨ 멋쟁이 리드 수빈✨ 아무것도 모르는 응애 📬 API 서버 API 통신 🔨 Refactor 리팩토링
Projects
Development

Successfully merging this pull request may close these issues.

[Feat] 네트워크 연결 실패 시 보여주는 알림 뷰
2 participants