diff --git a/VDS/Extensions/UIView.swift b/VDS/Extensions/UIView.swift index eb041400..6db07dd2 100644 --- a/VDS/Extensions/UIView.swift +++ b/VDS/Extensions/UIView.swift @@ -119,9 +119,9 @@ extension UIView { extension UIView { - public func debugBorder(show shouldShow: Bool = true) { + public func debugBorder(show shouldShow: Bool = true, color: UIColor = .red) { if shouldShow { - layer.borderColor = UIColor.red.cgColor + layer.borderColor = color.cgColor layer.borderWidth = 1 } else { layer.borderColor = UIColor.clear.cgColor