fixed protocol changes after handlerable removal
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
366143a9ad
commit
05fd22d2eb
@ -62,7 +62,7 @@ extension UIView {
|
||||
} else {
|
||||
removeDebugBorder()
|
||||
}
|
||||
if let view = self as? Handlerable {
|
||||
if let view = self as? ViewProtocol {
|
||||
view.updateView()
|
||||
}
|
||||
}
|
||||
|
||||
@ -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 }
|
||||
}
|
||||
|
||||
@ -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.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user