removed code

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2022-10-20 14:06:15 -05:00
parent 8242cbd9de
commit 43ca3ded26
2 changed files with 3 additions and 8 deletions

View File

@ -10,7 +10,7 @@ import UIKit
import Combine
import VDS
public class ModelScrollViewController: UIViewController, ModelHandlerable, Initable {
public class ModelScrollViewController: UIViewController, Initable {
deinit {
print("\(Self.self) deinit")
}
@ -21,7 +21,6 @@ public class ModelScrollViewController: UIViewController, ModelHandlerable, Init
//--------------------------------------------------
// MARK: - Combine Properties
//--------------------------------------------------
public var subject = PassthroughSubject<Void, Never>()
public var subscribers = Set<AnyCancellable>()
public var firstRender: Bool = false
@ -29,10 +28,6 @@ public class ModelScrollViewController: UIViewController, ModelHandlerable, Init
// MARK: - Properties
//--------------------------------------------------
private var initialSetupPerformed = false
open var surface: Surface = .light { didSet { subject.send() }}
open var disabled: Bool = false { didSet { subject.send() }}
//--------------------------------------------------
// MARK: - Initializers
@ -59,7 +54,7 @@ public class ModelScrollViewController: UIViewController, ModelHandlerable, Init
public func initialSetup() {
if !initialSetupPerformed {
initialSetupPerformed = true
setupUpdateView()
//setupUpdateView()
setup()
contentTopView.backgroundColor = Surface.light.color
surfacePickerSelectorView.scrollToBottom = { [weak self] in self?.scrollToBottom()}

View File

@ -86,7 +86,7 @@ class RadioButtonViewController: ModelScrollViewController {
radioButtonGroup
.publisher(for: .valueChanged)
.sink { group in
print("Selected: \(group.selectedModelHandler?.labelText ?? "none")")
print("Selected: \(group.selectedHandler?.labelText ?? "none")")
}.store(in: &subscribers)
//set UI values