-
Notifications
You must be signed in to change notification settings - Fork 6
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] #60 - 스톱워치 뷰 구현 #67
Conversation
Merge branch 'develop' of https://github.com/TeamSparker/Spark-iOS into feature/TeamSparker#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.
최대한 재사용하려는 노력이 보여요 수고하셨습니당!
pauseButton.setImage(UIImage(named: "btnStop"), for: .normal) | ||
resetButton.setImage(UIImage(named: "btnReset"), for: .normal) |
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.
처음과 초기화 시 멈춤, 초기화 버튼이 안보이는거 같아여 확인 부탁드립니당!
private func setButton(_ button: UIButton, title: String, backgroundColor: UIColor, isEnable: Bool) { | ||
button.setTitle(title, for: UIControl.State()) | ||
button.isEnabled = isEnable | ||
button.backgroundColor = backgroundColor | ||
} |
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.
👍
popupVC.modalPresentationStyle = .overFullScreen | ||
popupVC.modalTransitionStyle = .crossDissolve | ||
popupVC.time = timeLabel.text ?? "" | ||
|
||
present(popupVC, animated: true, completion: nil) |
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.
152번 줄은 어떤 용도인가용?
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.
원래는 이전 측정 값을 팝업에 전달해야 된다는 생각으로 프로퍼티를 생성했던 것 같은데,
지금 확인해보니 쓸모없군여.. 삭제했습니다!
@objc | ||
func touchResetButton() { | ||
NotificationCenter.default.post(name: .resetStopWatch, object: nil) | ||
dismiss(animated: true, completion: nil) | ||
} |
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.
노티를 쓰셨군요! 좋습니당
🌴 PR 요약
🌱 작업한 브랜치
🌱 작업한 내용
📌 참고 사항
📸 스크린샷
📮 관련 이슈