From cd88205b408226800a0c1263e0947827426976b2 Mon Sep 17 00:00:00 2001 From: Matt Bruce Date: Wed, 26 Jul 2023 10:20:11 -0500 Subject: [PATCH] added comments Signed-off-by: Matt Bruce --- VDS/Protocols/Changeable.swift | 2 ++ VDS/Protocols/Clickable.swift | 2 ++ 2 files changed, 4 insertions(+) diff --git a/VDS/Protocols/Changeable.swift b/VDS/Protocols/Changeable.swift index 38f9cd03..d51c734b 100644 --- a/VDS/Protocols/Changeable.swift +++ b/VDS/Protocols/Changeable.swift @@ -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 { diff --git a/VDS/Protocols/Clickable.swift b/VDS/Protocols/Clickable.swift index a202850a..f98dd1c7 100644 --- a/VDS/Protocols/Clickable.swift +++ b/VDS/Protocols/Clickable.swift @@ -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 {