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 {
|
} else {
|
||||||
removeDebugBorder()
|
removeDebugBorder()
|
||||||
}
|
}
|
||||||
if let view = self as? Handlerable {
|
if let view = self as? ViewProtocol {
|
||||||
view.updateView()
|
view.updateView()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -9,7 +9,7 @@ import Foundation
|
|||||||
import UIKit
|
import UIKit
|
||||||
import Combine
|
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.
|
/// Sets the primary Subscriber used for the UIControl event .valueChanged.
|
||||||
var onChangeSubscriber: AnyCancellable? { get set }
|
var onChangeSubscriber: AnyCancellable? { get set }
|
||||||
}
|
}
|
||||||
|
|||||||
@ -9,7 +9,7 @@ import Foundation
|
|||||||
import UIKit
|
import UIKit
|
||||||
import Combine
|
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.
|
/// Reference count used when a subscriber is listening for the UIControl event .touchUpInside.
|
||||||
var touchUpInsideCount: Int { get set }
|
var touchUpInsideCount: Int { get set }
|
||||||
/// Sets the primary Subscriber used for the UIControl event .touchUpInside.
|
/// Sets the primary Subscriber used for the UIControl event .touchUpInside.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user