diff --git a/VDS/Classes/Control.swift b/VDS/Classes/Control.swift index 457ceaa7..9252f6d8 100644 --- a/VDS/Classes/Control.swift +++ b/VDS/Classes/Control.swift @@ -9,8 +9,7 @@ import Foundation import UIKit import Combine - -open class Control: UIControl, ModelHandlerable, ViewProtocol, Resettable { +open class Control: UIControl, ModelHandlerControlable, ViewProtocol, Resettable { //-------------------------------------------------- // MARK: - Combine Properties diff --git a/VDS/Classes/View.swift b/VDS/Classes/View.swift index a0ed38b2..991777e9 100644 --- a/VDS/Classes/View.swift +++ b/VDS/Classes/View.swift @@ -10,7 +10,7 @@ import UIKit import Combine -open class View: UIView, ModelHandlerable, ViewProtocol, Resettable { +open class View: UIView, ModelHandlerViewable, ViewProtocol, Resettable { //-------------------------------------------------- // MARK: - Combine Properties diff --git a/VDS/Components/Checkbox/CheckboxGroup.swift b/VDS/Components/Checkbox/CheckboxGroup.swift index aaa36d36..1e332e90 100644 --- a/VDS/Components/Checkbox/CheckboxGroup.swift +++ b/VDS/Components/Checkbox/CheckboxGroup.swift @@ -23,7 +23,7 @@ public class CheckboxGroup: CheckboxGroupBase & UIControl>: SelectorGroupHandlerBase { +public class CheckboxGroupBase>: SelectorGroupHandlerBase { //-------------------------------------------------- // MARK: - Public Properties diff --git a/VDS/Components/RadioBox/RadioBoxGroup.swift b/VDS/Components/RadioBox/RadioBoxGroup.swift index a670feee..750df8e7 100644 --- a/VDS/Components/RadioBox/RadioBoxGroup.swift +++ b/VDS/Components/RadioBox/RadioBoxGroup.swift @@ -31,7 +31,7 @@ public class RadioBoxGroup: RadioBoxGroupBase & UIControl>: SelectorGroupSelectedHandlerBase { +public class RadioBoxGroupBase>: SelectorGroupSelectedHandlerBase { //-------------------------------------------------- // MARK: - Private Properties diff --git a/VDS/Components/RadioButton/RadioButtonGroup.swift b/VDS/Components/RadioButton/RadioButtonGroup.swift index 167a23e3..72b34528 100644 --- a/VDS/Components/RadioButton/RadioButtonGroup.swift +++ b/VDS/Components/RadioButton/RadioButtonGroup.swift @@ -34,7 +34,7 @@ public class RadioButtonGroup: RadioButtonGroupBase & UIControl>: SelectorGroupSelectedHandlerBase { +public class RadioButtonGroupBase>: SelectorGroupSelectedHandlerBase { //-------------------------------------------------- // MARK: - Public Properties diff --git a/VDS/Components/RadioSwatch/RadioSwatchGroup.swift b/VDS/Components/RadioSwatch/RadioSwatchGroup.swift index 9b885c59..90843e68 100644 --- a/VDS/Components/RadioSwatch/RadioSwatchGroup.swift +++ b/VDS/Components/RadioSwatch/RadioSwatchGroup.swift @@ -32,7 +32,7 @@ public class RadioSwatchGroup: RadioSwatchGroupBase & UIControl>: Control, Changable, UICollectionViewDataSource, UICollectionViewDelegateFlowLayout, UICollectionViewDelegate { +public class RadioSwatchGroupBase>: Control, Changable, UICollectionViewDataSource, UICollectionViewDelegateFlowLayout, UICollectionViewDelegate { //-------------------------------------------------- // MARK: - Public Properties diff --git a/VDS/Protocols/ModelHandlerable.swift b/VDS/Protocols/ModelHandlerable.swift index 5affe2c1..be96bbd4 100644 --- a/VDS/Protocols/ModelHandlerable.swift +++ b/VDS/Protocols/ModelHandlerable.swift @@ -42,3 +42,7 @@ extension ModelHandlerable { .store(in: &subscribers) } } + +public protocol ModelHandlerControlable: ModelHandlerable & UIControl {} + +public protocol ModelHandlerViewable: ModelHandlerable & UIView {}