CompositionalLayoutDSL v0.1.0 Release Notes

Release Date: 2021-04-28 // over 1 year ago
  • Created

    Structures

    • CompositionalLayout
    • 🔧 Configuration
    • Section
    • ListSection
    • RawSection
    • HGroup
    • VGroup
    • CustomGroup
    • Item
    • DecorationItem
    • SupplementaryItem
    • BoundarySupplementaryItem

    Enumerations

    • SupplementaryItem.AnchorOffset
    • ListResultBuilder

    Protocols

    • LayoutConfiguration
    • LayoutSection
    • LayoutGroup
    • LayoutItem
    • LayoutDecorationItem
    • LayoutSupplementaryItem
    • LayoutBoundarySupplementaryItem
    • ResizableItem

    Type aliases

    • LayoutItemBuilder
    • LayoutBoundarySupplementaryItemBuilder
    • LayoutSupplementaryItemBuilder
    • LayoutDecorationItemBuilder

    Functions

    • LayoutSectionBuilder(layoutSection:) -> NSCollectionLayoutSection
    • 🔧 LayoutBuilder(configuration:layoutSection:) -> NSCollectionViewCompositionalLayout
    • 🔧 LayoutBuilder(configuration:layoutSection:) -> UICollectionViewCompositionalLayout
    • LayoutBuilder(compositionalLayout:) -> NSCollectionViewCompositionalLayout
    • LayoutBuilder(compositionalLayout:) -> UICollectionViewCompositionalLayout

    External extensions

    • NSCollectionView.setCollectionViewLayout(_ layout: CompositionalLayout)
    • UICollectionView.setCollectionViewLayout(_ layout: CompositionalLayout)