From 400a51f0b59da3b62ac8f77384e00ccafd334919 Mon Sep 17 00:00:00 2001 From: "Pfeil, Scott Robert" Date: Tue, 18 Jun 2019 13:31:51 -0400 Subject: [PATCH] remove spaces --- MVMCoreUI/Molecules/MoleculeTableViewCell.swift | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/MVMCoreUI/Molecules/MoleculeTableViewCell.swift b/MVMCoreUI/Molecules/MoleculeTableViewCell.swift index 0f26a9b8..695b5849 100644 --- a/MVMCoreUI/Molecules/MoleculeTableViewCell.swift +++ b/MVMCoreUI/Molecules/MoleculeTableViewCell.swift @@ -81,7 +81,7 @@ import UIKit } // MARK: - MVMCoreUIMoleculeViewProtocol - public func setWithJSON(_ json: [AnyHashable : Any]?, delegateObject: MVMCoreUIDelegateObject?, additionalData: [AnyHashable : Any]?) { + public func setWithJSON(_ json: [AnyHashable: Any]?, delegateObject: MVMCoreUIDelegateObject?, additionalData: [AnyHashable: Any]?) { self.json = json; guard let json = json, let moleculeJSON = json.optionalDictionaryForKey(KeyMolecule) else { return @@ -126,7 +126,7 @@ import UIKit molecule?.reset?() } - public static func estimatedHeight(forRow json: [AnyHashable : Any]?) -> CGFloat { + public static func estimatedHeight(forRow json: [AnyHashable: Any]?) -> CGFloat { guard let moleculeJSON = json?.optionalDictionaryForKey(KeyMolecule), let theClass = MVMCoreUIMoleculeMappingObject.shared()?.getMoleculeClass(withJSON: moleculeJSON, delegateObject: nil), let estimatedHeightFor = theClass.estimatedHeight else { @@ -135,7 +135,7 @@ import UIKit return estimatedHeightFor(moleculeJSON) } - public static func name(forReuse molecule: [AnyHashable : Any]?, delegateObject: MVMCoreUIDelegateObject?) -> String? { + public static func name(forReuse molecule: [AnyHashable: Any]?, delegateObject: MVMCoreUIDelegateObject?) -> String? { if let molecule = molecule?.optionalDictionaryForKey(KeyMolecule), let moleculeName = molecule.optionalStringForKey(KeyMoleculeName), let moleculeClass = MVMCoreUIMoleculeMappingObject.shared()?.moleculeMapping[moleculeName] as? AnyClass, @@ -179,7 +179,7 @@ import UIKit } } - public func didSelectCell(atIndex indexPath: IndexPath, delegateObject: MVMCoreUIDelegateObject?, additionalData: [AnyHashable : Any]?) { + public func didSelectCell(atIndex indexPath: IndexPath, delegateObject: MVMCoreUIDelegateObject?, additionalData: [AnyHashable: Any]?) { if let actionMap = json?.optionalDictionaryForKey("actionMap") { MVMCoreActionHandler.shared()?.handleAction(with: actionMap, additionalData: additionalData, delegateObject: delegateObject) }