Getting Started with Diffable Data Source

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 ก.ย. 2024

ความคิดเห็น • 5

  • @eyupcimen
    @eyupcimen ปีที่แล้ว

    This video is very usefull. Thanks a lot for video and sharing.

  • @UdayBabariya
    @UdayBabariya 3 ปีที่แล้ว

    can you suggest me anything for my doubt?
    I have build collection view using UICollectionViewCompositionalLayout and UICollectionViewDiffableDataSource.
    I am trying to scroll collectionView on particular index of NSCollectionLayoutGroup on didSelect of any cell of collectionView, but not able to scroll.

    • @swiftarcade7632
      @swiftarcade7632  3 ปีที่แล้ว

      Scrolling is tricky. Make sure every cell in the Composition layout has an intrinsic or defined height. Else the scrollview (CollectionView) won't know how to lay itself out. Also make sure your collectionview is pinned everywhere it needs to be (like the bottom of your view). Good luck!

  • @Waasys
    @Waasys 4 ปีที่แล้ว

    I would really appreciate a tutorial on how to drag and drop to rearrange items in a collection view with diffable data source, been really stuck on it

    • @swiftarcade7632
      @swiftarcade7632  3 ปีที่แล้ว

      Noted. Will see if I can get to this in the future.