Structures
- BoundarySupplementaryItem
-
An object used to add headers or footers to a collection view.
- CompositionalLayout
-
An object that completely represent a compositional layout.
- Configuration
-
An object that defines scroll direction, section spacing, and headers or footers for the layout.
- DecorationItem
-
An object used to add a background to a section of a collection view.
- CustomGroup
-
A customizable container for a set of items.
- HGroup
-
A container for a set of items that lays out the items horizontally.
- VGroup
-
A container for a set of items that lays out the items vertically.
- Item
-
The most basic component of a collection view's layout.
- ListSection
- RawSection
-
A container to allow usage of
NSCollectionLayoutSection
with this library - Section
-
A container that combines a set of groups into distinct visual groupings.
- SupplementaryItem
-
An object used to add an extra visual decoration, such as a badge or a frame, to an item in a collection view.
Enumerations
- SupplementaryItem.AnchorOffset
- ListResultBuilder
-
A custom parameter attribute that constructs list of
Element
from closures.
Protocols
- LayoutBoundarySupplementaryItem
-
A type that represents a boundary supplementary item in a compositional layout and provides modifiers to configure boundary supplementary items.
- LayoutConfiguration
-
A type that represents a compositional layout configuration and provides modifiers to change the configuration.
- LayoutDecorationItem
-
A type that represents a decoration item in a compositional layout and provides modifiers to configure decoration items.
- LayoutGroup
-
A type that represents a group in a compositional layout and provides modifiers to configure groups.
- LayoutItem
-
A type that represents an item in a compositional layout and provides modifiers to configure items.
- ResizableItem
- LayoutSection
-
A type that represents a section in a compositional layout and provides modifiers to configure sections.
- LayoutSupplementaryItem
-
A type that represents a supplementary item in a compositional layout and provides modifiers to configure supplementary items.
Typealiases
- LayoutItemBuilder
- LayoutBoundarySupplementaryItemBuilder
- LayoutSupplementaryItemBuilder
- LayoutDecorationItemBuilder
Functions
- LayoutSectionBuilder(layoutSection:)
-
Converts a layout section into a
NSCollectionLayoutSection
- LayoutBuilder(configuration:layoutSection:)
-
Converts a layout configuration and a layout section into an
NSCollectionViewCompositionalLayout
- LayoutBuilder(configuration:layoutSection:)
-
Converts a layout configuration and a layout section into a
UICollectionViewCompositionalLayout
- LayoutBuilder(compositionalLayout:)
-
Converts a compositionalLayout into an
NSCollectionViewCompositionalLayout
- LayoutBuilder(compositionalLayout:)
-
Converts a compositionalLayout into a
UICollectionViewCompositionalLayout