ensured classes are open to allow subclassing

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2023-04-06 17:06:21 -05:00
parent 51c8a8059f
commit 08bcaed4d8
12 changed files with 13 additions and 13 deletions

View File

@ -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
}

View File

@ -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
//--------------------------------------------------

View File

@ -9,7 +9,7 @@ import Foundation
import UIKit
@objc(VDSCheckboxGroup)
public class CheckboxGroup: SelectorGroupHandlerBase<Checkbox> {
open class CheckboxGroup: SelectorGroupHandlerBase<Checkbox> {
//--------------------------------------------------
// MARK: - Public Properties

View File

@ -11,7 +11,7 @@ import VDSColorTokens
import Combine
@objc(VDSIcon)
public class Icon: View {
open class Icon: View {
//--------------------------------------------------
// MARK: - Private Properties

View File

@ -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

View File

@ -10,7 +10,7 @@ import UIKit
import VDSColorTokens
@objc(VDSLine)
public class Line: View {
open class Line: View {
//--------------------------------------------------
// MARK: - Enums

View File

@ -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

View File

@ -9,7 +9,7 @@ import Foundation
import UIKit
@objc(VDSRadioBoxGroup)
public class RadioBoxGroup: SelectorGroupSelectedHandlerBase<RadioBox> {
open class RadioBoxGroup: SelectorGroupSelectedHandlerBase<RadioBox> {
//--------------------------------------------------
// MARK: - Public Properties

View File

@ -9,7 +9,7 @@ import Foundation
import UIKit
@objc(VDSRadioButtonGroup)
public class RadioButtonGroup: SelectorGroupSelectedHandlerBase<RadioButton> {
open class RadioButtonGroup: SelectorGroupSelectedHandlerBase<RadioButton> {
//--------------------------------------------------
// MARK: - Public Properties

View File

@ -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

View File

@ -12,7 +12,7 @@ import VDSFormControlsTokens
import Combine
@objc(VDSInputField)
public class InputField: EntryField, UITextFieldDelegate {
open class InputField: EntryField, UITextFieldDelegate {
//--------------------------------------------------
// MARK: - Enums
//--------------------------------------------------

View File

@ -13,7 +13,7 @@ import VDSFormControlsTokens
import Combine
@objc(VDSTextArea)
public class TextArea: EntryField {
open class TextArea: EntryField {
//--------------------------------------------------
// MARK: - Initializers
//--------------------------------------------------