fixed protocol changes after handlerable removal

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2023-08-08 09:48:39 -05:00
parent 366143a9ad
commit 05fd22d2eb
3 changed files with 3 additions and 3 deletions

View File

@ -62,7 +62,7 @@ extension UIView {
} else {
removeDebugBorder()
}
if let view = self as? Handlerable {
if let view = self as? ViewProtocol {
view.updateView()
}
}

View File

@ -9,7 +9,7 @@ import Foundation
import UIKit
import Combine
public protocol Changeable: Handlerable where Self: UIControl {
public protocol Changeable: ViewProtocol where Self: UIControl {
/// Sets the primary Subscriber used for the UIControl event .valueChanged.
var onChangeSubscriber: AnyCancellable? { get set }
}

View File

@ -9,7 +9,7 @@ import Foundation
import UIKit
import Combine
public protocol Clickable: Handlerable where Self: UIControl {
public protocol Clickable: ViewProtocol where Self: UIControl {
/// Reference count used when a subscriber is listening for the UIControl event .touchUpInside.
var touchUpInsideCount: Int { get set }
/// Sets the primary Subscriber used for the UIControl event .touchUpInside.