refactored protocols
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
fe90a09f93
commit
971c6f6055
@ -22,7 +22,7 @@ public enum ButtonSize: String, CaseIterable {
|
||||
/// you need to ensure that one of these Horizontal Contraints is not constraint of "equatTo". If you are to pin the left/right edges
|
||||
/// to its parent this object will stretch to the parent's width.
|
||||
@objc(VDSButton)
|
||||
open class Button: ButtonBase, Useable {
|
||||
open class Button: ButtonBase, Useable, Buttonable {
|
||||
|
||||
//--------------------------------------------------
|
||||
// MARK: - Initializers
|
||||
|
||||
@ -8,10 +8,13 @@
|
||||
import Foundation
|
||||
import UIKit
|
||||
|
||||
extension ButtonGroup {
|
||||
|
||||
public class ButtonGroupCollectionViewCell: UICollectionViewCell {}
|
||||
|
||||
}
|
||||
|
||||
public class ButtonGroupCollectionViewCell: UICollectionViewCell {}
|
||||
|
||||
extension ButtonGroupCollectionViewCell: AppleGuidlinesTouchable {
|
||||
extension ButtonGroup.ButtonGroupCollectionViewCell: AppleGuidlinesTouchable {
|
||||
|
||||
override open func point(inside point: CGPoint, with event: UIEvent?) -> Bool {
|
||||
Self.acceptablyOutsideBounds(point: point, bounds: bounds)
|
||||
|
||||
@ -18,7 +18,7 @@ import Combine
|
||||
/// you need to ensure that one of these Horizontal Contraints is not constraint of "equatTo". If you are to pin the left/right edges
|
||||
/// to its parent this object will stretch to the parent's width.
|
||||
@objc(VDSTextLink)
|
||||
open class TextLink: ButtonBase {
|
||||
open class TextLink: ButtonBase, Buttonable {
|
||||
//--------------------------------------------------
|
||||
// MARK: - Initializers
|
||||
//--------------------------------------------------
|
||||
|
||||
@ -18,7 +18,7 @@ import Combine
|
||||
/// you need to ensure that one of these Horizontal Contraints is not constraint of "equatTo". If you are to pin the left/right edges
|
||||
/// to its parent this object will stretch to the parent's width.
|
||||
@objc(VDSTextLinkCaret)
|
||||
open class TextLinkCaret: ButtonBase {
|
||||
open class TextLinkCaret: ButtonBase, Buttonable {
|
||||
//--------------------------------------------------
|
||||
// MARK: - Initializers
|
||||
//--------------------------------------------------
|
||||
|
||||
Loading…
Reference in New Issue
Block a user