DeviceUIView+Inspectable is one of the solutions to meet the design requirements depending on different screen types. It can be any @IBDesignable
UIVIew
class with @IBInspectable
property to be able to set under the Attributes inspector. Please, check Medium post with full description👏
#UILabel
#UIView
#UIButton
#UIStackView
Feel free to contribute by suggesting your classes through the Pull requests 🤝
If you find a bug, please create an issue 🤷♂️