added comments
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
0a9b4ec368
commit
cd88205b40
@ -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 {
|
||||
|
||||
@ -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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user