A protocol used to provide information about the size and content insets of a layout's container.
- iOS 13.0+
- macOS 10.15+
- Mac Catalyst 13.0+
- tvOS 13.0+
In a section provider, you use the
container property of the layout environment (
NSCollection) to get information about the container of the layout, such as its size and content insets. Knowing about the container's size while rendering the layout's sections helps you make decisions about how to display the layout.