Skip to content

Enhancements to DSL Optimization, UIKit, and Previews Add-Ons

Compare
Choose a tag to compare
@Adobels Adobels released this 28 Nov 22:52
· 3 commits to main since this release
beb85d1

DSL

  • Optimize usage of @MainActor to protect constraints to be applied
  • Add tests for UIViewDSL when working from multithreads.

Debugger

  • Add showColors to set backgrounds of subviews to random colors and make them easier to spot.

UIKit

  • Add IBView and IBControl to avoid writing init methods when creating views
  • Add convenience classes like IBScrollView, IBPreviewLabel
  • Add ibSetAsRootView to set views as rootviews of a given controller
  • Add methods to work with container views ibAdd(child:to) and ibRemove(child:) on UIViewController

Previews

  • Add FreeForm Representables for UIView and UIViewController
  • ibConstraints moved from UIView extension to standalone function

Project

  • Add SwiftLint
  • Reorganize files and types
  • Clean up Xcode schemes
  • Set UIViewKitDevelopmentViews as an internal product by commenting it