-
Notifications
You must be signed in to change notification settings - Fork 2
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
Fix [#94] picker view 관련 ms값 가져오기 구현 #101
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.
고생했어요 ~ 🚀🚀🚀🚀
nextButton.updateStatus(isEnabled: true) | ||
totalTime = selectedValue | ||
|
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.
P4. 빈줄 지워주세용 ㅎㅎ
@@ -77,7 +77,7 @@ extension HMHTimePickerView: UIPickerViewDelegate { | |||
self.reloadComponent(component) | |||
isChanged = true | |||
selectedValue = Int(timeList[row]) ?? 0 | |||
self.totalTimePickerDelegate?.updateAvailability(selectedValue: selectedValue) | |||
self.totalTimePickerDelegate?.updateAvailability(selectedValue: selectedValue, type: type) | |||
|
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.delegate = self | ||
goalTimeView.hourPicker.totalTimePickerDelegate = self | ||
goalTimeView.minPicker.totalTimePickerDelegate = self |
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.
P4. setDelgate
함수로 빼는 것은 어떤가요?
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.
나이스 합니다 선히님
func updateAvailability(selectedValue: Int, type: HMHTimePickerView.TimePickerType) { | ||
if type == .specificTime { | ||
self.specificTime = selectedValue | ||
|
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.
p2. 줄바꿈 놉
nextButton.updateStatus(isEnabled: true) | ||
let convertedTime = convertHoursAndMinutesToMilliseconds(hours: specificTime, minutes: specificMinute) | ||
SignUpManager.shared.goalTime = convertedTime | ||
print(convertedTime) |
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.
p3. 프린트 지워주세요
func updateAvailability(selectedValue: Int, type: HMHTimePickerView.TimePickerType) { | ||
if type == .specificTime { | ||
self.specificTime = selectedValue | ||
|
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.
p2. 줄바꿈 놉
👾 작업 내용
🚀 PR Point
📸 스크린샷
✅ Issue
Resolved #94