-
Notifications
You must be signed in to change notification settings - Fork 2
[FEAT/#107] 토스트 메시지를 띄울 수 있는 기능을 추가합니다. #109
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
Conversation
| import UIKit | ||
| import DesignSystem | ||
|
|
||
| public extension UIViewController { |
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.
BaseViewController에 확장하는 건 어떨까요
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.
BaseViewController가 UIViewController를 상속하고 있어서 사용가능해요!
hsw1920
left a comment
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.
수고하셨습니다!
0Hooni
left a comment
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.
간지 뒤지는 토스트 👍
수고많으셨습니다!!
Kiyoung-Kim-57
left a comment
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!!
|
천재다,, 천재다!! |
🤔 배경
에러나 사용자 액션에 대한 반응이 없으면 사용자 경험에 악영향을 끼치기 때문에, 간단하게 토스트 메시지라도 띄울 수 있도록 했습니다.
📃 작업 내역
showToast(message:, duration:)을 추가합니다.✅ 리뷰 노트
🎨 스크린샷
최대 Width 는 뷰 프레임의 0.7배로 설정
🚀 테스트 방법
BaseFeature를 import한 후, ViewController 내에서showToast(message: )메소드를 호출하면 됩니다.