isak_hi

  • 홈
  • 태그
  • 방명록

DiffableDataSource 1

[UICollectionViewDiffableDataSource] 각 섹션마다 다른 Cell 적용기

Header는 추후 업로드 예정이며, 이해를 돕기 위해 "굳이" Cell을 숫자로 표현한 것! ⚠️ 기본적으로 UICollectionViewDiffableDataSource는 indexPath로 데이터에 접근하지 않기 위해 사용함! Section 1,2,3이 모두 다른 Cell이고, 3번과 4번 Cell은 compositional Layout을 활용해 layout 크기만 다른 형태로 구현했음. 1번 Cell = TrendMovieTitleCollectionViewCell2번 Cell = TrendMovieCastCell3,4번 Cell = TrendMovieCollectionViewCell      Section과 각 Cell에 넣어줄 데이터 모델enum TrendDetailSectionKind: Int..

swift 2024.07.22
이전
1
다음
더보기
프로필사진

isak_hi

on my journey to become a iOS developer

  • 분류 전체보기
    • swift
      • swift 에러
      • swift 공부
      • 앱 관련
    • 알고리즘
    • WWDC
      • WWDC공부
    • CS공부
      • 네트워크

Tag

UIKit, resizable, CustomViewModifier, ios, AsyncImage, SWIFT, TapGesture, SwiftUI, 앱스쿨, UICollectionView, Fastlane match, celltapevent, multiplesection, failed to read asset tags, gif 적용, ViewModifier, multiplecell, Xcode, tapevent 발생 안함, DiffableDataSource,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/07   »
일 월 화 수 목 금 토
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 31

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

티스토리툴바