Slide 6
Slide 6 text
6
What is Composi'onal Layouts ?
Quote: https://developer.apple.com/documentation/uikit/views_and_controls/collection_views/layouts
Overview
A collection view layout defines the visual arrangement of the content
in your collection. Layouts are designed to be flexible to let you create
any kind of arrangement you need for your content, from simple to
complex. The simplest type of collection view layout displays its items
in a grid, but you can define layouts to arrange items however you like.
For example, you might create a layout where items are arranged in a
circle or vary in size. You can also change layouts dynamically at
runtime whenever you need to present items differently, such as when
a user rotates the device.
Collection view layouts are customizable and highly visual. For
example, the App Store app uses a single collection view with custom
layouts per section to showcase different kinds of content.