moved to setup
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
760433243e
commit
c2c88c7b90
@ -109,8 +109,8 @@ open class Breadcrumbs: View {
|
|||||||
// MARK: - Overrides
|
// MARK: - Overrides
|
||||||
//--------------------------------------------------
|
//--------------------------------------------------
|
||||||
/// Executed on initialization for this View.
|
/// Executed on initialization for this View.
|
||||||
open override func initialSetup() {
|
open override func setup() {
|
||||||
super.initialSetup()
|
super.setup()
|
||||||
containerView.addSubview(collectionView)
|
containerView.addSubview(collectionView)
|
||||||
collectionView.pinToSuperView()
|
collectionView.pinToSuperView()
|
||||||
addSubview(containerView)
|
addSubview(containerView)
|
||||||
|
|||||||
@ -125,10 +125,6 @@ open class CalendarBase: Control, Changeable {
|
|||||||
//--------------------------------------------------
|
//--------------------------------------------------
|
||||||
// MARK: - Overrides
|
// MARK: - Overrides
|
||||||
//--------------------------------------------------
|
//--------------------------------------------------
|
||||||
open override func initialSetup() {
|
|
||||||
super.initialSetup()
|
|
||||||
}
|
|
||||||
|
|
||||||
/// Called once when a view is initialized and is used to Setup additional UI or other constants and configurations.
|
/// Called once when a view is initialized and is used to Setup additional UI or other constants and configurations.
|
||||||
open override func setup() {
|
open override func setup() {
|
||||||
super.setup()
|
super.setup()
|
||||||
|
|||||||
@ -196,11 +196,6 @@ open class Carousel: View {
|
|||||||
//--------------------------------------------------
|
//--------------------------------------------------
|
||||||
// MARK: - Lifecycle
|
// MARK: - Lifecycle
|
||||||
//--------------------------------------------------
|
//--------------------------------------------------
|
||||||
/// Executed on initialization for this View.
|
|
||||||
open override func initialSetup() {
|
|
||||||
super.initialSetup()
|
|
||||||
}
|
|
||||||
|
|
||||||
/// Called once when a view is initialized and is used to Setup additional UI or other constants and configurations.
|
/// Called once when a view is initialized and is used to Setup additional UI or other constants and configurations.
|
||||||
open override func setup() {
|
open override func setup() {
|
||||||
super.setup()
|
super.setup()
|
||||||
|
|||||||
@ -235,10 +235,6 @@ open class CarouselScrollbar: View {
|
|||||||
//--------------------------------------------------
|
//--------------------------------------------------
|
||||||
// MARK: - Lifecycle
|
// MARK: - Lifecycle
|
||||||
//--------------------------------------------------
|
//--------------------------------------------------
|
||||||
open override func initialSetup() {
|
|
||||||
super.initialSetup()
|
|
||||||
}
|
|
||||||
|
|
||||||
open override func setup() {
|
open override func setup() {
|
||||||
super.setup()
|
super.setup()
|
||||||
isAccessibilityElement = false
|
isAccessibilityElement = false
|
||||||
|
|||||||
@ -95,8 +95,8 @@ open class Pagination: View {
|
|||||||
// MARK: - Overrides
|
// MARK: - Overrides
|
||||||
//--------------------------------------------------
|
//--------------------------------------------------
|
||||||
/// Executed on initialization for this View.
|
/// Executed on initialization for this View.
|
||||||
open override func initialSetup() {
|
open override func setup() {
|
||||||
super.initialSetup()
|
super.setup()
|
||||||
|
|
||||||
collectionContainerView.addSubview(collectionView)
|
collectionContainerView.addSubview(collectionView)
|
||||||
containerView.addSubview(previousButton)
|
containerView.addSubview(previousButton)
|
||||||
|
|||||||
@ -60,8 +60,8 @@ open class PaginationButton: ButtonBase {
|
|||||||
// MARK: - Overrides
|
// MARK: - Overrides
|
||||||
//--------------------------------------------------
|
//--------------------------------------------------
|
||||||
/// Executed on initialization for this View.
|
/// Executed on initialization for this View.
|
||||||
open override func initialSetup() {
|
open override func setup() {
|
||||||
super.initialSetup()
|
super.setup()
|
||||||
if #available(iOS 15.0, *) {
|
if #available(iOS 15.0, *) {
|
||||||
configuration = buttonConfiguration
|
configuration = buttonConfiguration
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@ -92,8 +92,8 @@ open class Table: View {
|
|||||||
//--------------------------------------------------
|
//--------------------------------------------------
|
||||||
|
|
||||||
///Called upon initializing the table view
|
///Called upon initializing the table view
|
||||||
open override func initialSetup() {
|
open override func setup() {
|
||||||
super.initialSetup()
|
super.setup()
|
||||||
addSubview(matrixView)
|
addSubview(matrixView)
|
||||||
matrixView.pinToSuperView()
|
matrixView.pinToSuperView()
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user