updated for accessable
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
214a7e0a67
commit
ff61d3ff39
@ -18,7 +18,7 @@ public protocol Accessable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//Helpers to set within the UIControl
|
//Helpers to set within the UIControl
|
||||||
extension Modelable where Self: UIControl {
|
extension Modelable where Self: UIView {
|
||||||
private var accessableModel: Accessable? {
|
private var accessableModel: Accessable? {
|
||||||
guard let model = self.model as? Accessable else {
|
guard let model = self.model as? Accessable else {
|
||||||
return nil
|
return nil
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user