Enhancements to DSL Optimization, UIKit, and Previews Add-Ons
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)
andibRemove(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