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

[iOS] Error Handle #14

Open
2 tasks
lenaios opened this issue May 11, 2021 · 0 comments
Open
2 tasks

[iOS] Error Handle #14

lenaios opened this issue May 11, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request iOS

Comments

@lenaios
Copy link
Collaborator

lenaios commented May 11, 2021

에러를 print로 처리하고 있는 부분을 개선해야 한다.

  • Error 타입 정의
  • Error 타입에 따른 view 처리

실패 케이스에서도 서버 응답 실패, 지하철이나 네트워크가 잘 통하지 않는 곳에서 네트워크 OFF 되는 경우 등 다양하게 있습니다. 이 부분도 어떻게 처리할지, 예를 들어 화면에서 사용자에게 메세지를 알려줄 것인지, 재시도 요청할지 등 항상 고려해야 합니다🤔
API 요청하고 나서 화면이 구성할 때까지 사용자를 마냥 기다리게 하는 것이 아니라 로딩 인디케이터를 노출하거나 스켈레톤 뷰로 화면 구조가 어떻게 생겼는지 미리 알려줄 수 있습니다. 결과적으로 API 요청, 응답, 화면 구성할 때도 어떤 처리를 할 것인지 고려해야 합니다!

@lenaios lenaios added the enhancement New feature or request label May 11, 2021
@lenaios lenaios added the iOS label May 11, 2021
isaac56 pushed a commit that referenced this issue May 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request iOS
Projects
None yet
Development

No branches or pull requests

2 participants