added comments

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2023-07-26 10:20:11 -05:00
parent 0a9b4ec368
commit cd88205b40
2 changed files with 4 additions and 0 deletions

View File

@ -14,6 +14,8 @@ public protocol Changeable: Handlerable where Self: UIControl {
}
extension Changeable {
/// Allows the setting of a completion block against the onChangeSubscriber cancellable. This will
/// completion block will get executed against the UIControl publisher for the 'valueChange' action.
public var onChange: ((Self) -> ())? {
get { return nil }
set {

View File

@ -15,6 +15,8 @@ public protocol Clickable: Handlerable where Self: UIControl {
}
extension Clickable {
/// Allows the setting of a completion block against the onClickSubscriber cancellable. This will
/// completion block will get executed against the UIControl publisher for the 'touchUpInside' action.
public var onClick: ((Self) -> ())? {
get { return nil }
set {