Skip to content

Latest commit

 

History

History
64 lines (51 loc) · 1.62 KB

CHANGELOG.md

File metadata and controls

64 lines (51 loc) · 1.62 KB

Change Log

All notable changes to this project will be documented in this file. CompositionalLayoutDSL adheres to Semantic Versioning.

[Unreleased]

[0.2.0] - 2023-09-29

Updated

  • Documentation will now use DocC

Removed

  • Drop support for Swift 5.3, we now use @resultBuilder instead of @_functionBuilder
  • Drop support for Carthage

[0.1.0] - 2021-04-28

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)