-
Notifications
You must be signed in to change notification settings - Fork 6
[Feat] #224 - 코스발견, 코스보관함, 코스 상세, 유저프로필 1차 QA 진행 하였습니다. #225
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] #224 - 코스발견, 코스보관함, 코스 상세, 유저프로필 1차 QA 진행 하였습니다. #225
The head ref may contain hidden characters: "#224---\uCF54\uC2A4-\uBC1C\uACAC-\uC774\uBCA4\uD2B8-\uCC98\uB9AC-\uD574\uACB0"
Conversation
당근 마켓 글쓰기 버튼 처럼, 바꾸었습니다.
courseList[indexPath.item] 를 가져왔기 때문에, 자연스럽지 못했는데 그 부분을 marathonCourseList로 바꾸어 해결 하였습니다.
course와 함께 전체 페이지를 보내는 API로 바뀌어서 필요없는 코드는 삭제 합니다.
유저 프로필 터치영역을 명세서에 맞게 수정 하였습니다.
코스 이름 수정하는 API를 연결 해주었습니다.
Runnect-iOS/Runnect-iOS/Presentation/CourseDetail/VC/CourseDetailVC.swift
Show resolved
Hide resolved
Runnect-iOS/Runnect-iOS/Presentation/CourseDetail/VC/CourseDetailVC.swift
Show resolved
Hide resolved
| self.pageNo += 1 | ||
| getCourseData(pageNo: pageNo) |
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.
Zep 으로 알려드리겠습니다~
🌱 작업한 내용
didRemoveCoursedelegate 함수 추가getTotalNum관련 파일,mapCollectionView)스택 뷰로 수정🌱 PR Point
✅ 마라톤 Cell 부분의
didSelectItemAtCombine으로
마라톤 Cell의 indexPath를 받아,CourseDiscoveryVC로 넘겨줘서,indexPath 해당하는 CourseDetailVC로 접근을 하였습니다.
해당 부분에서 뷰 이동은
ViewController에서 해야 하기 때문에,Cell에서CourseDetail로 넘겨주는 과정이 필요했습니다.이 과정에서 "마라톤 코스"는
marathonCourseList[indexPath.item] 마라톤 코스 배열에서 가져와야 했기 때문에,MarathonMapCollectionViewCell의 속성인marathonCourseList는private이 아닌public으로 선언 하여 필요한 부분에 사용해주었습니다..✅ 업로드 버튼의 동적 속성
애니메이션 스터디를 하면서
쓸데없는 코드를 줄이고,필요한 코드만 사용해서 애니메이션을 구현을 할 수 있다고 생각했습니다.저번에 조금 헷갈리게 짠 로직은 전부 지웠습니다.
당근 마켓의 홈 탭 바의 글쓰기 버튼보다는 정교하진 않지만, 최대한 비슷하게 구현하였습니다.
✅ 페이지 네이션
getCourseData 에서 매개변수 추가하였습니다.
getCourseData(pageNo: Int)페이지 네이션 로직의 순서를 바꾸었습니다. 원래 로직대로 하면 1페이지가 두번 호출
아래는 수정한 부분
✅ 내가 그린 코스 제목 수정 / 삭제 기능 구현
📮 관련 이슈