LayoutKit
LayoutKit copied to clipboard
Remove UIView.init() is called in outside of the main thread
In class LabelLayoutDefaults, UILabel.init() is called on static stored property declaration.
This leads [UIView init] must be used from main thread only warning on Xcode.
Moreover, it breaks on runtime some cases (e.g. XCUITest tests layout built with using LabelLayout)
This PR fixes this problem.
