Solving duplicated / repeating cells in Table view

<aside> 💡 애플은 퍼포먼스의 이유로 컨텐츠 관련 정보는 prepare에서 세팅하지 말라고 권고

</aside>

Apple Developer Documentation

To avoid potential performance issues, you should only reset attributes of the cell that are not related to content, for example, alpha, editing, and selection state.

prepareForReuse 는 cellForRowAt에서 항상 호출됨 (셀 재사용을 할 때)