Controller
에게 웹서비스로부터 응답이 왔을 때 UI에게 변경을 알림reloadData
를 통해 해결 가능하지만 애니메이션적용 X → 사용자 경험을 해침one version of the truth
를 가지고 있음 → truth들이 다를경우 문제 발생 Unique Identifiers
부여, IndexPath ❌
apply
Prior to iOS 15, passing true to animatingDifferences would apply the diff and animate updates in the UI, while passing false was equivalent to calling reloadData(). As of iOS 15, applying a snapshot using this API will always perform a diff
참고
animationgDifference
참고
https://zeddios.tistory.com/1197
https://ios-development.tistory.com/717
https://developer.apple.com/videos/play/wwdc2019/220/
https://brunch.co.kr/@eunjin3786/245