updated for accessable

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2022-08-01 11:53:58 -05:00
parent 214a7e0a67
commit ff61d3ff39

View File

@ -18,7 +18,7 @@ public protocol Accessable {
}
//Helpers to set within the UIControl
extension Modelable where Self: UIControl {
extension Modelable where Self: UIView {
private var accessableModel: Accessable? {
guard let model = self.model as? Accessable else {
return nil