Skip to content

0.2.0

Choose a tag to compare

@nothingsh nothingsh released this 14 Oct 08:29
· 28 commits to main since this release

Added

  • offset for overlay and background decorations.
  • spacing(_:after:) on stacks and scroll views, for a different distance after one element.
  • HScroll and VScroll forward every form of padding.
  • Layer modifiers for any view: cornerRadius, border(color:width:) and shadow.
  • Accessibility modifiers: accessibilityHint, accessibilityTraits and isAccessibilityElement.
  • UILabel modifiers adjustsFontSizeToFitWidth and minimumScaleFactor.
  • UIImageView modifier preferredSymbolConfiguration.
  • Modifiers for UISegmentedControl, UIStepper, UIActivityIndicatorView, UIProgressView and UIPageControl.
  • DocC documentation catalog.

Fixed

  • configure on a custom view subclass compiles with Swift 6.1 and earlier, where the closure did not receive the subclass type.
  • The remaining spacers in a stack keep sharing the extra space equally after one of them is removed.