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

알람화면 제작 #128

Open
2 tasks done
junyng opened this issue Oct 11, 2021 · 1 comment
Open
2 tasks done

알람화면 제작 #128

junyng opened this issue Oct 11, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@junyng
Copy link
Collaborator

junyng commented Oct 11, 2021

💡 이슈 내용

알람화면 제작 (홈 -> 알람)

✅ 작업 내용

  • collectionview dynamic cell height
  • 셀 삭제하기 동작(UICollectionViewDiffableDataSource 사용)

@junyng junyng self-assigned this Oct 11, 2021
@junyng junyng added the enhancement New feature or request label Oct 12, 2021
@junyng
Copy link
Collaborator Author

junyng commented Oct 12, 2021

UICollectionViewDiffableDataSource의 장점 세 가지

  • Automatic data change animations

    Add / Update / Delete data을 하면, change animation이 자동으로 적용된다.

  • Automatic data synchronization

    기존 애니메이션 구현을 하기 위해서는 데이터 동기화 과정이 필요하다.
    UICollectionViewDiffableDataSource은 자동으로 동기화 해준다.

  • Reduced code

    전반적으로 코드를 덜 작성하고 애니메이션 및 데이터 동기화의 이점을 누릴 수 있다.

참고
https://www.raywenderlich.com/8241072-ios-tutorial-collection-view-and-diffable-data-source

junyng added a commit to junyng/soyeon-ios that referenced this issue Oct 16, 2021
junyng added a commit that referenced this issue Oct 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant