Compositional Layout & Diffable Datasources - Build Modern UICollectionViews #1 | Swift, UIKit
Автор: Subhronil Saha
Загружено: 2024-04-26
Просмотров: 1194
Dealing with multiple UICollectionViews on the same ViewController can become memory intensive & complex at times. In this video series, I will be introducing 2 new APIs - Compositional Layout & Diffable Datasource - which can help us build complex layouts faster!
In this video, I'll explain how we can use Compositional Layout and build a complex layout with multi-directional scrolling with just a single UICollectionView.
Timestamps:
0:00 Intro
2:36 Setup Xcode project & basic UI prerequisites
12:00 Create Compositional Layout sections
22:46 Add section scrolling behaviour
25:55 Add contentInsets, interItemSpacing & interGroupSpacing
31:26 Add section headers & footers
39:45 Final result
Resources:
https://developer.apple.com/documenta...
Click to Subscribe: / @subhronilsaha398
Socials:
LinkedIn: / subhronil-saha
Twitter: / subhronilsaha
#ios #swift #xcode #xcode15 #swift5 #swiftui #uikit it #cs #apple #coding #app #ipad #iphone #compositional #layout #collectionview #swift
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: