Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
Tags
- 면접을 위한 CS 전공 지식 노트 Tree
- TableView Section
- Reference Cycle
- SWIFT
- 양궁대회
- 면접을 위한 CS전공 지식 노트
- retain cycle
- tableview section별 다른 cell적용
- NavigationSearchBar
- UserDefaults
- 자료구조
- Array vs Linked List
- @escaping
- TableView
- coremotion
- ReferceCycle
- Carousel CollectionView
- 프로그래머스
- 강한 참조 순환
- 롤케이크 자르기
- CarouselCollectionview
- class struct
- firebase
- Value Type Reference Type
- UIKit
- til
- Input Output
- 테이블뷰 나누기
- wil
- CoreData
Archives
- Today
- Total
목록tableview section별 다른 cell적용 (1)
개발하는 동글 :]
Section 마다 다른 Cell을 사용하는 TableView를 편리하게 사용하고자 한 시도!
사이드 프로젝트를 진행하며 하나의 TableView에 Section마다 사용하는 Cell이 달라 관리하기 어렵다는 점과 유지 보수 및 확장 및 수정이 편리한 코드를 만들고 싶어 시도한 코드이다.! 1. CellInputable, CellOutputable, Cellable- 우선 해당 프로젝트는 Input Output 패턴을 사용중이라 기존의 프로토콜을 활용하여 Cellable protocol을 개발하고, Cell들은 이 프로토콜을 채택하였다. 2. TableViewSectionable- 위에서 개발한 Cellable을 활용한 TableViewSectionable을 개발하였다. 이러한 TableViewSectionable은 Cell에 주입 될 input, output을 관리할 수 있고, Header와 F..
카테고리 없음
2024. 7. 15. 20:29