 // MARK: - Auto Layout
 
 extension UIView {
-    func fitVerticalEdgesToSuperview(obeyMargins: Bool = false) {
+    public func fitVerticalEdgesToSuperview(obeyMargins: Bool = false) {
         superview?.addConstraints(
             NSLayoutConstraint.constraints(
                 withVisualFormat: obeyMargins ? "V:|-[view]-|" : "V:|[view]|",

        )
    }

    func fitToSuperview(obeyMargins: Bool = false) {
        fitVerticalEdgesToSuperview(obeyMargins: obeyMargins)
        fitHorizontalEdgesToSuperview(obeyMargins: obeyMargins)
    }

        )
    }

    public func fitHorizontalEdgesToSuperview(obeyMargins: Bool = false) {
        superview?.addConstraints(
            NSLayoutConstraint.constraints(
                withVisualFormat: obeyMargins ? "H:|-[view]-|" : "H:|[view]|",
