feat: added dashed layer support for UIViewController

This commit is contained in:
Nikita Semenov 2023-02-14 20:12:33 +03:00
parent 3406962d21
commit f3c5002f4e
2 changed files with 12 additions and 1 deletions

View File

@ -87,3 +87,14 @@ public extension UIView {
}
}
}
// MARK: - UIViewController + DashedBoundsLayer
public extension UIViewController {
@discardableResult
func debugBoundsVisually(debugSubviews: Bool = true) -> UIViewController {
view.debugBoundsVisually(debugSubviews: debugSubviews)
return self
}
}

View File

@ -20,8 +20,8 @@
// THE SOFTWARE.
//
import UIKit
import SwiftUI
import UIKit
@available(iOS 13, *)
public extension UIViewController {