Skip to content

Fix/#121 network error ui 충돌 해결#128

Merged
wngus4296 merged 13 commits intodevelopfrom
fix/#121-network-error
Feb 19, 2024
Merged

Fix/#121 network error ui 충돌 해결#128
wngus4296 merged 13 commits intodevelopfrom
fix/#121-network-error

Conversation

@wngus4296
Copy link
Copy Markdown
Collaborator

작업한 내용

  • 네트워크 에러시 alert controller를 사용하던 부분을 uiview를 수정했어요 (토스트뷰 같이 띄움)
  • 공통 popupView를 간단하게 구현해뒀는데, 이 부분은 전역에서 사용하려면 수정필요합니다!
    • title + button으로 구성되어있어요.
    • 현재는 네트워크 알럿에서만 사용하고 있어서 버튼을 누르면 앱이 꺼지는 형태로 되어있어요.
    • image

스크린샷

RPReplay_Final1708325697

관련 이슈

@wngus4296 wngus4296 self-assigned this Feb 19, 2024
Copy link
Copy Markdown
Collaborator

@longlivedrgn longlivedrgn left a comment

Choose a reason for hiding this comment

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

Window에 View를 띄어주는 게 훨씬 좋다!!👍

근데 생각해보니까아 굳이 모든 VC에서 initialize하지 않고, 아래와 같이 lazy하게 가지고 있는 것도 괜찮을 거 같아. 아래 세 개가 필요 없는 view에서는 굳이 메모리 할당하지 않도록!

    private lazy var toastView = BooltiToastView()
    private lazy var popupView = BooltiPopupView()
    private lazy var loadingIndicatorView =  BooltiLoadingIndicatorView(style: .medium)

@wngus4296 wngus4296 merged commit 6387c94 into develop Feb 19, 2024
@wngus4296 wngus4296 deleted the fix/#121-network-error branch February 19, 2024 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FIX] 네트워크 에러 BooltiVC -> Window로 변경

2 participants