From ff0fb6b7cd4c962d4992152c520c8173b672a986 Mon Sep 17 00:00:00 2001 From: Subhankar Acharya Date: Thu, 27 Feb 2020 20:38:57 +0530 Subject: [PATCH] Added files to LockUps and constraint changes. --- MVMCoreUI.xcodeproj/project.pbxproj | 12 ++++++++++-- .../ListProgressBarData.swift | 6 ++++-- .../ListProgressBarDataModel.swift | 0 3 files changed, 14 insertions(+), 4 deletions(-) rename MVMCoreUI/Molecules/DesignedComponents/{List/LeftVariable => LockUps}/ListProgressBarData.swift (93%) rename MVMCoreUI/Molecules/DesignedComponents/{List/LeftVariable => LockUps}/ListProgressBarDataModel.swift (100%) diff --git a/MVMCoreUI.xcodeproj/project.pbxproj b/MVMCoreUI.xcodeproj/project.pbxproj index 0fc24c53..56b0c33f 100644 --- a/MVMCoreUI.xcodeproj/project.pbxproj +++ b/MVMCoreUI.xcodeproj/project.pbxproj @@ -785,6 +785,15 @@ path = OneColumn; sourceTree = ""; }; + 525239C32407FFCC00454969 /* LockUps */ = { + isa = PBXGroup; + children = ( + 525019DB2406430700EED91C /* ListProgressBarDataModel.swift */, + 525019DC2406430800EED91C /* ListProgressBarData.swift */, + ); + path = LockUps; + sourceTree = ""; + }; 946EE1B5237B663A0036751F /* Extensions */ = { isa = PBXGroup; children = ( @@ -999,6 +1008,7 @@ D22B38E923F4E07800490EF6 /* DesignedComponents */ = { isa = PBXGroup; children = ( + 525239C32407FFCC00454969 /* LockUps */, D22B38EC23F4E10700490EF6 /* SectionDividers */, D22B38EA23F4E08B00490EF6 /* List */, ); @@ -1017,8 +1027,6 @@ D22B38EB23F4E0AE00490EF6 /* LeftVariable */ = { isa = PBXGroup; children = ( - 525019DB2406430700EED91C /* ListProgressBarDataModel.swift */, - 525019DC2406430800EED91C /* ListProgressBarData.swift */, 522679C023FE886900906CBA /* ListLeftVariableCheckboxAllTextAndLinksModel.swift */, 522679BF23FE886900906CBA /* ListLeftVariableCheckboxAllTextAndLinks.swift */, 8D24041423E7FC0B009E23BE /* ListLeftVariableIconWithRightCaretModel.swift */, diff --git a/MVMCoreUI/Molecules/DesignedComponents/List/LeftVariable/ListProgressBarData.swift b/MVMCoreUI/Molecules/DesignedComponents/LockUps/ListProgressBarData.swift similarity index 93% rename from MVMCoreUI/Molecules/DesignedComponents/List/LeftVariable/ListProgressBarData.swift rename to MVMCoreUI/Molecules/DesignedComponents/LockUps/ListProgressBarData.swift index 8f43369b..cb6beb01 100644 --- a/MVMCoreUI/Molecules/DesignedComponents/List/LeftVariable/ListProgressBarData.swift +++ b/MVMCoreUI/Molecules/DesignedComponents/LockUps/ListProgressBarData.swift @@ -8,7 +8,7 @@ import UIKit -@objcMembers public class ListProgressBarData: TableViewCell { +@objcMembers open class ListProgressBarData: TableViewCell { //----------------------------------------------------- // MARK: - Outlets @@ -33,7 +33,7 @@ import UIKit NSLayoutConstraint.pinViews(leftView: leftLabel, rightView: rightLabel, alignTop: false) progressBar.leadingAnchor.constraint(equalTo: view.leadingAnchor).isActive = true progressBar.trailingAnchor.constraint(equalTo: view.trailingAnchor).isActive = true - progressBar.topAnchor.constraint(equalTo: leftLabel.bottomAnchor, constant: PaddingTwo).isActive = true + progressBar.topAnchor.constraint(equalTo: leftLabel.bottomAnchor, constant: 8).isActive = true view.bottomAnchor.constraint(equalTo: progressBar.bottomAnchor).isActive = true } @@ -49,6 +49,8 @@ import UIKit override open func reset() { super.reset() progressBar.reset() + leftLabel.reset() + rightLabel.reset() leftLabel.styleB1(true) rightLabel.styleB1(true) } diff --git a/MVMCoreUI/Molecules/DesignedComponents/List/LeftVariable/ListProgressBarDataModel.swift b/MVMCoreUI/Molecules/DesignedComponents/LockUps/ListProgressBarDataModel.swift similarity index 100% rename from MVMCoreUI/Molecules/DesignedComponents/List/LeftVariable/ListProgressBarDataModel.swift rename to MVMCoreUI/Molecules/DesignedComponents/LockUps/ListProgressBarDataModel.swift