-
Notifications
You must be signed in to change notification settings - Fork 1
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
Refactor [#59] v 1.0.0 심사 대응 #60
Conversation
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.
오우.. 정말 고생 많으셨네요..
조금만 더,. 힘을 내 봅시다!!
let secondsTotal = milliseconds / 1000 | ||
let hours = secondsTotal / 3600 | ||
let minutes = (secondsTotal % 3600) / 60 |
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.
💊 추후에 익스텐션으로 해보는것도 좋을것같아요~!!
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.
추후 코드 리펙토링 진행하겠습니다~~ 감사해옹
default: | ||
titleString = "" |
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.
❓이 default같은 부분에 추후에 스켈레톤을 넣는 건가요?
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.
아마 로딩 전에는 뷰를 띄울 수 없어서 그냥 기본 값 넣은 거라고 생각하시면 될 것 같아요! 스켈레톤은 어려울 것 같슴다 ㅜ
struct EarnPointButton: View { | ||
let day: Int | ||
let status: String | ||
@StateObject var viewModel = PointViewModel() | ||
@ObservedObject var viewModel: PointViewModel |
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.
👍 오우 헷갈려요 이 개념
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.
같이 공부해여~~
ZStack { | ||
Color(.blackground) | ||
.ignoresSafeArea() | ||
VStack(spacing: 10) { | ||
SwipeView(imageNames: [.onboardingFirst, .onboardingSecond, .onboardingThird]) | ||
.padding(.bottom, 75) | ||
LoginButton(loginProvider: .kakao, viewModel: viewModel) | ||
LoginButton(loginProvider: .apple, viewModel: viewModel) | ||
} |
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.
👍 이 방법 명심 또 명심.. 잘 활용할게요!
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.
스유 .. 오토레이아웃 천재가 되어봅시다!
|
||
self.sendSucessIfNeeded() | ||
self.getChallengeType() | ||
} | ||
} | ||
|
||
func challengeButtonTapped() { | ||
if remainEarnPoint == 0 { | ||
if !(statuses.contains("UNEARNED")) { |
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.
💊 추후에 포인트 획득 상태를 enum화 해도 좋을듯 합니다..?,
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.
오케잇 이 부분 리펙해볼게요!
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.
그런데, 이 부분의 경우에는 문자열 배열에 있는지를 검사 해야해서 enum보다는 String이 더 알맞는 것 같기도 합니다 ㅎㅎ
👾 작업 내용
심사 대응하며 바뀐 것들 머지하고 작업 들어가는 것이 좋을 것 같습니다!
🚀 PR Point
주요 변경 내역
✅ CheckList
🔗 Issue
Resolved #59