Skip to content
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

스와이핑 이미지 및 상세 이미지 구현 #38

Open
5 of 6 tasks
corykim0829 opened this issue Apr 27, 2020 · 0 comments
Open
5 of 6 tasks

스와이핑 이미지 및 상세 이미지 구현 #38

corykim0829 opened this issue Apr 27, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request iOS iOS works

Comments

@corykim0829
Copy link
Contributor

corykim0829 commented Apr 27, 2020

  • UIPageViewController를 이용하여 구현

  • ThumbnailViewController 구현 - ImageView를 가지고 있음

  • UIPageViewController 및, Thumbnail ContainerView BG color -> clear로 변경

  • imageIndexView 구현

  • 뷰모델로 바인딩

  • 상세 이미지 스택뷰에 구현

@corykim0829 corykim0829 added enhancement New feature or request iOS iOS works labels Apr 27, 2020
@corykim0829 corykim0829 self-assigned this Apr 27, 2020
@corykim0829 corykim0829 changed the title 스와이핑 이미지 구현 스와이핑 이미지 및 상세 이미지 구현 Apr 28, 2020
corykim0829 added a commit that referenced this issue Apr 28, 2020
1. 스크롤뷰에 containerView의 frame을 사용하여 ThumbnailsPageViewController를 subview로 추가
2. ThumbnailsPageViewController는 viewController를 page 전환해주기 때문에, 더비 VC를 랜덤 색상으로 제공된 썸네일 이미지 URL 개수에 맞게 생성하여 표시
3. Before, After 페이지 스와이핑이 잘 작동하도록 구현, firstIndex 메소드 사용

Issue: #38
corykim0829 added a commit that referenced this issue Apr 28, 2020
corykim0829 added a commit that referenced this issue Apr 28, 2020
corykim0829 added a commit that referenced this issue Apr 28, 2020
corykim0829 added a commit that referenced this issue Apr 28, 2020
corykim0829 added a commit that referenced this issue Apr 28, 2020
ImageView를 subview로 추가하여 viewController를 꽉 채우도록 오토레이아웃 구현

Issue: #38
corykim0829 added a commit that referenced this issue Apr 28, 2020
corykim0829 added a commit that referenced this issue Apr 28, 2020
didSelectRow 메소드에서 detail 정보를 받으면, 받은 thumbnail Image URL들을 가지고 네트워크 요청을 하여 요청을 받으면 각각 Thumbnail VC의 이미지를 업데이트

Issue: #38
corykim0829 added a commit that referenced this issue Apr 28, 2020
상세 이미지를 담을 stackView에 대한 커스텀 클래스를 생성하여 구현
stackView 내에서 이미지를 순서대로 업데이트 해주기 위해서 빈 imageView를 담게 구현

Issue: #38
corykim0829 added a commit that referenced this issue Apr 28, 2020
corykim0829 added a commit that referenced this issue Apr 28, 2020
가장 끝 이미지에서 다음으로 스와이프하면 첫 이미지로, 첫 이미지에서 앞으로 스와이프 하면 끝 이미지를 표시하도록 구현

Issue: #38
corykim0829 added a commit that referenced this issue Apr 28, 2020
corykim0829 added a commit that referenced this issue Apr 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request iOS iOS works
Projects
None yet
Development

No branches or pull requests

1 participant