added accessibility var

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2024-06-19 17:16:27 -05:00
parent f25aee83de
commit 4b8d0d985a

View File

@ -19,6 +19,9 @@ public protocol ViewProtocol: AnyObject, Initable, Resettable, Enabling, Surface
/// Key of whether or not updateAccessibility() is called in setNeedsUpdate()
var shouldUpdateAccessibility: Bool { get set }
/// Used for setting an implementation for the default Accessible Action
var accessibilityDefaultAction: ((Self) -> Void)? { get set }
/// Executed on initialization for this View.
func initialSetup()
@ -55,7 +58,7 @@ extension ViewProtocol where Self: UIView {
view.removeFromSuperview()
setNeedsDisplay()
}
}
}
}
extension ViewProtocol where Self: UIControl {