diff --git a/MVMCoreUI/Molecules/DesignedComponents/List/LeftVariable/ListLeftVariableCheckboxAllTextAndLinksCustom.swift b/MVMCoreUI/Molecules/DesignedComponents/List/LeftVariable/ListLeftVariableCheckboxAllTextAndLinksCustom.swift deleted file mode 100644 index 64394c1c..00000000 --- a/MVMCoreUI/Molecules/DesignedComponents/List/LeftVariable/ListLeftVariableCheckboxAllTextAndLinksCustom.swift +++ /dev/null @@ -1,43 +0,0 @@ -// -// ListLeftVariableCheckboxAllTextAndLinksCustom.swift -// MVMCoreUI -// -// Created by Scott Pfeil on 2/28/20. -// Copyright © 2020 Verizon Wireless. All rights reserved. -// - -import Foundation - -public class ListLeftVariableCheckboxAllTextAndLinksModelCustom: ListLeftVariableCheckboxAllTextAndLinksModel { - public override class var identifier: String { - return "listLVCBCustom" - } - - required public init(from decoder: Decoder) throws { - try super.init(from: decoder) - } - - public override func encode(to encoder: Encoder) throws { - try super.encode(to: encoder) - } -} - -@objcMembers open class ListLeftVariableCheckboxAllTextAndLinksCustom: ListLeftVariableCheckboxAllTextAndLinks { - // MARK:- MVMCoreUIMoleculeViewProtocol - open override func set(with model: MoleculeModelProtocol, _ delegateObject: MVMCoreUIDelegateObject?, _ additionalData: [AnyHashable : Any]?) { - super.set(with: model, delegateObject, additionalData) - - // Update immediately. - eyebrowHeadlineBodyLink.stack.stackModel?.molecules[0].gone = !checkbox.isSelected - eyebrowHeadlineBodyLink.stack.restack() - - // Update on press. - checkbox.actionBlock = { [weak self] in - guard let self = self else { return } - print("hello") - self.eyebrowHeadlineBodyLink.stack.stackModel?.molecules[0].gone = !self.checkbox.isSelected - self.eyebrowHeadlineBodyLink.stack.restack() - delegateObject?.moleculeDelegate?.moleculeLayoutUpdated(self) - } - } -}