-
Notifications
You must be signed in to change notification settings - Fork 6
[Feat] #139 - 러닝 기록 수정 페이지 UI 및 api 연결 #140
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
Merged
dlwogus0128
merged 6 commits into
Runnect:develop
from
dlwogus0128:feat/#139-러닝-기록-수정-페이지-UI-및-api-연결
May 15, 2023
The head ref may contain hidden characters: "feat/#139-\uB7EC\uB2DD-\uAE30\uB85D-\uC218\uC815-\uD398\uC774\uC9C0-UI-\uBC0F-api-\uC5F0\uACB0"
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
45cbc58
[Feat] #139 - 러닝 기록 상세 수정 시 레이아웃 변경
dlwogus0128 ad7638c
[Feat] #136 - 코드 리뷰 반영
dlwogus0128 6ac9775
[Feat] #139 - 수정 페이지 UI 구현
dlwogus0128 fe4b89f
[Feat] #139 - 이전 제목과 같은 text 입력 시 완료 버튼 끄기
dlwogus0128 832ff4c
[Feat] #139 - 수정 api 연결
dlwogus0128 a8536c1
[Feat] #139 - 수정 페이지에서 네비 바 이전 버튼을 눌렀을 때
dlwogus0128 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
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.
NaviBar에 타입을 추가하는 방식으로 하셨군요..!
제가 의도했던 방식에서 네비바의 타입은 네비바 자체의 UI에서 새로운 것이 생길때 추가하는 것이지 버튼 터치했을 때 동작이 생겼을 때 추가하는 방식이 아니었어요!
물론 이렇게 해도 동작은 의도한대로 하겠지만 객체의 책임과 역할의 측면에서 다음과 같이 아쉬운 부분이 생길 것 같습니다!
결론
사실 이미 기존에 잘 만들어진 함수가 있습니다!
resetLeftButtonAction함수를 이용해 네비바를 호출한 VC에서 뒤로가기 버튼을 클릭했을 때 처리할 액션을 지정할 수 있습니다.즉, 수정하기VC에서 CustomNaviBar를 반든 부분이 있을텐데 그 뒤에 이어서 resetLeftButtonAction를 호출하고 파라미터로 들어갈 클로져에 팝업뷰를 보여주는 코드를 넣으면 될 것 같습니다..!
이런 방식으로 시도하다가 잘 안되면 언제든 연락주세요~!
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.
오얘~~~~ 바꿧어용