Complex Collection View Layouts in Swift with Compositional Layout

Complex Collection View Layouts in Swift with Compositional Layout

While SwiftUI is an extremely useful framework to create complex views, we all know that UIKit is here to stay for a good amount of time. Apple has made the Collection Views even more powerful this year with the release of new APIs. Compositional Layout lets you create complex and intricate collection views in SwiftUI really easily.