본문 바로가기 메뉴 바로가기

예지는 코딩중

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

예지는 코딩중

검색하기 폼
  • 분류 전체보기 (13)
    • 🍎 iOS (6)
      • UIKit (2)
      • SwiftUI (2)
    • 🌱 SeSac (2)
    • 🐱 Github (1)
  • 방명록

rxdatasources (1)
RxDataSources+CompositionalLayout

텍스트의 길이에 따라 가변적으로 변하는 collectionViewCell을 적용하고 싶어 CompositionalLayout을 적용해 보았다.CompositionalLayout을 사용하기 전에 구현했던 방법은, 이러했다. ShoppingListViewController output.searchItems .asDriver(onErrorJustReturn: []) .drive(collectionView.rx.items(cellIdentifier: SearchItemCollectionViewCell.identifier, cellType: SearchItemCollectionViewCell.self)){ row, element, cell in cell.titleLabel.text = el..

🌱 SeSac 2024. 8. 8. 00:48
이전 1 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
  • rxdatasources
  • Animation
  • CompositionalLayout
more
«   2026/02   »
일 월 화 수 목 금 토
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
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바