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: Toast 기능 구현 #130

Merged
merged 4 commits into from
Nov 30, 2023
Merged

feat: Toast 기능 구현 #130

merged 4 commits into from
Nov 30, 2023

Conversation

chopmozzi
Copy link
Collaborator

@chopmozzi chopmozzi commented Nov 28, 2023

🧑‍🚀 PR 요약

Toast class를 구현했습니다.

📌 변경 사항

Toast.shared.showToast(message: "Toast 테스트용")

이런식으로 사용하면 됨다.

📸 ScreenShot
Simulator.Screen.Recording.-.iPhone.13.mini.-.2023-11-30.at.01.05.34.mp4

Linked Issue

close #129

Comment on lines 46 to 52
UIView.animate(withDuration: 1.0, delay: 0.1, animations: {
self.toastMessageLabel.alpha = 1.0
}, completion: { _ in
UIView.animate(withDuration: 1.0, delay: 0.1, animations: {
self.toastMessageLabel.alpha = 0.0
})
})
Copy link
Collaborator

Choose a reason for hiding this comment

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

여기에서 delay를 주신 의미가 궁금합니다!

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

토스트가 적절히 나타나도록 딜레이를 넣었습니다. 빼는게 나을까용?

Copy link
Collaborator

@loinsir loinsir left a comment

Choose a reason for hiding this comment

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

어느 정도 형태 잡으신 것 같아서 Approve 날립니다~~
고생하셨어요 💪

@chopmozzi
Copy link
Collaborator Author

@loinsir @anyukyung 아예 갈아 엎었슴다 다시 한번 보시고 approve 해주세용

@anyukyung anyukyung merged commit f270691 into iOS/dev Nov 30, 2023
1 check passed
@chopmozzi chopmozzi deleted the iOS/feat#129 branch November 30, 2023 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants