ensured classes are open to allow subclassing
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
51c8a8059f
commit
08bcaed4d8
@ -9,7 +9,7 @@ import Foundation
|
||||
import UIKit
|
||||
import Combine
|
||||
|
||||
public class SelectorGroupHandlerBase<HandlerType: Control>: Control, Changeable {
|
||||
open class SelectorGroupHandlerBase<HandlerType: Control>: Control, Changeable {
|
||||
|
||||
//--------------------------------------------------
|
||||
// MARK: - Public Properties
|
||||
@ -59,7 +59,7 @@ public class SelectorGroupHandlerBase<HandlerType: Control>: Control, Changeable
|
||||
}
|
||||
}
|
||||
|
||||
public class SelectorGroupSelectedHandlerBase<HandlerType: Control>: SelectorGroupHandlerBase<HandlerType>{
|
||||
open class SelectorGroupSelectedHandlerBase<HandlerType: Control>: SelectorGroupHandlerBase<HandlerType>{
|
||||
public var selectedHandler: HandlerType? {
|
||||
return selectorViews.filter { $0.isSelected == true }.first
|
||||
}
|
||||
|
||||
@ -13,7 +13,7 @@ import Combine
|
||||
|
||||
/// Badges are visual labels used to convey status or highlight supplemental information.
|
||||
@objc(VDSBadge)
|
||||
public class Badge: View {
|
||||
open class Badge: View {
|
||||
//--------------------------------------------------
|
||||
// MARK: - Enums
|
||||
//--------------------------------------------------
|
||||
|
||||
@ -9,7 +9,7 @@ import Foundation
|
||||
import UIKit
|
||||
|
||||
@objc(VDSCheckboxGroup)
|
||||
public class CheckboxGroup: SelectorGroupHandlerBase<Checkbox> {
|
||||
open class CheckboxGroup: SelectorGroupHandlerBase<Checkbox> {
|
||||
|
||||
//--------------------------------------------------
|
||||
// MARK: - Public Properties
|
||||
|
||||
@ -11,7 +11,7 @@ import VDSColorTokens
|
||||
import Combine
|
||||
|
||||
@objc(VDSIcon)
|
||||
public class Icon: View {
|
||||
open class Icon: View {
|
||||
|
||||
//--------------------------------------------------
|
||||
// MARK: - Private Properties
|
||||
|
||||
@ -11,7 +11,7 @@ import VDSColorTokens
|
||||
import Combine
|
||||
|
||||
@objc(VDSLabel)
|
||||
public class Label: UILabel, Handlerable, ViewProtocol, Resettable, UserInfoable {
|
||||
open class Label: UILabel, Handlerable, ViewProtocol, Resettable, UserInfoable {
|
||||
|
||||
//--------------------------------------------------
|
||||
// MARK: - Combine Properties
|
||||
|
||||
@ -10,7 +10,7 @@ import UIKit
|
||||
import VDSColorTokens
|
||||
|
||||
@objc(VDSLine)
|
||||
public class Line: View {
|
||||
open class Line: View {
|
||||
|
||||
//--------------------------------------------------
|
||||
// MARK: - Enums
|
||||
|
||||
@ -12,7 +12,7 @@ import Combine
|
||||
|
||||
@objc(VDSNotification)
|
||||
/// A VDS Component that will render a view with information
|
||||
public class Notification: View {
|
||||
open class Notification: View {
|
||||
|
||||
//--------------------------------------------------
|
||||
// MARK: - Enums
|
||||
|
||||
@ -9,7 +9,7 @@ import Foundation
|
||||
import UIKit
|
||||
|
||||
@objc(VDSRadioBoxGroup)
|
||||
public class RadioBoxGroup: SelectorGroupSelectedHandlerBase<RadioBox> {
|
||||
open class RadioBoxGroup: SelectorGroupSelectedHandlerBase<RadioBox> {
|
||||
|
||||
//--------------------------------------------------
|
||||
// MARK: - Public Properties
|
||||
|
||||
@ -9,7 +9,7 @@ import Foundation
|
||||
import UIKit
|
||||
|
||||
@objc(VDSRadioButtonGroup)
|
||||
public class RadioButtonGroup: SelectorGroupSelectedHandlerBase<RadioButton> {
|
||||
open class RadioButtonGroup: SelectorGroupSelectedHandlerBase<RadioButton> {
|
||||
|
||||
//--------------------------------------------------
|
||||
// MARK: - Public Properties
|
||||
|
||||
@ -10,7 +10,7 @@ import UIKit
|
||||
import Combine
|
||||
|
||||
@objc(VDSRadioSwatchGroup)
|
||||
public class RadioSwatchGroup: SelectorGroupSelectedHandlerBase<RadioSwatch>, UICollectionViewDataSource, UICollectionViewDelegateFlowLayout, UICollectionViewDelegate {
|
||||
open class RadioSwatchGroup: SelectorGroupSelectedHandlerBase<RadioSwatch>, UICollectionViewDataSource, UICollectionViewDelegateFlowLayout, UICollectionViewDelegate {
|
||||
|
||||
//--------------------------------------------------
|
||||
// MARK: - Public Properties
|
||||
|
||||
@ -12,7 +12,7 @@ import VDSFormControlsTokens
|
||||
import Combine
|
||||
|
||||
@objc(VDSInputField)
|
||||
public class InputField: EntryField, UITextFieldDelegate {
|
||||
open class InputField: EntryField, UITextFieldDelegate {
|
||||
//--------------------------------------------------
|
||||
// MARK: - Enums
|
||||
//--------------------------------------------------
|
||||
|
||||
@ -13,7 +13,7 @@ import VDSFormControlsTokens
|
||||
import Combine
|
||||
|
||||
@objc(VDSTextArea)
|
||||
public class TextArea: EntryField {
|
||||
open class TextArea: EntryField {
|
||||
//--------------------------------------------------
|
||||
// MARK: - Initializers
|
||||
//--------------------------------------------------
|
||||
|
||||
Loading…
Reference in New Issue
Block a user