diff --git a/MVMCoreUI/Atomic/Molecules/HorizontalCombinationViews/TabsModel.swift b/MVMCoreUI/Atomic/Molecules/HorizontalCombinationViews/TabsModel.swift index ecbefc5a..a79c8730 100644 --- a/MVMCoreUI/Atomic/Molecules/HorizontalCombinationViews/TabsModel.swift +++ b/MVMCoreUI/Atomic/Molecules/HorizontalCombinationViews/TabsModel.swift @@ -132,7 +132,7 @@ open class TabsModel: MoleculeModelProtocol { && size == model.size && borderLine == model.borderLine && minWidth == model.minWidth - //&& selectedIndex == model.selectedIndex // Selected index could have been either reset locally or by server. For now ignore.c + //&& selectedIndex == model.selectedIndex // Selected index could have been either reset locally or by server. For now ignore. && tabs.isVisuallyEquivalent(to: model.tabs) } } diff --git a/MVMCoreUI/Atomic/Protocols/ModelProtocols/MoleculeComparisonProtocol.swift b/MVMCoreUI/Atomic/Protocols/ModelProtocols/MoleculeComparisonProtocol.swift index 04a3a4bf..97014092 100644 --- a/MVMCoreUI/Atomic/Protocols/ModelProtocols/MoleculeComparisonProtocol.swift +++ b/MVMCoreUI/Atomic/Protocols/ModelProtocols/MoleculeComparisonProtocol.swift @@ -13,7 +13,7 @@ public protocol MoleculeModelComparisonProtocol: ModelComparisonProtocol { /** Shallow check if there are no visual differences between models. - By default if the models are equal then they are visually equivalent. However, if there are parts of models that can be upddated without a UI update, this could be subset of properties. + By default if the models are equal then they are visually equivalent. However, if there are parts of models that can be updated without a UI update, this could be subset of properties. **/ func isVisuallyEquivalent(to model: MoleculeModelComparisonProtocol) -> Bool } diff --git a/MVMCoreUI/Atomic/Templates/MoleculeListTemplate.swift b/MVMCoreUI/Atomic/Templates/MoleculeListTemplate.swift index 197701b0..5eb23107 100644 --- a/MVMCoreUI/Atomic/Templates/MoleculeListTemplate.swift +++ b/MVMCoreUI/Atomic/Templates/MoleculeListTemplate.swift @@ -273,7 +273,7 @@ open class MoleculeListTemplate: ThreeLayerTableViewController, TemplateProtocol debugLog("Refreshing rows \(indexPaths.map { $0.row })") if #available(iOS 15.0, *) { - // All rows should have been layed out already on the first newDataBuildScreen reload with the getMoleculeInfoList call. Therefore, we can be safe to assume the top level cell configuration will not be modified and only the child content will be updated allowing us to levearage this more efficient method. + // All rows should have been layed out already on the first newDataBuildScreen reload with the getMoleculeInfoList call. Therefore, we can be safe to assume the top level cell configuration will not be modified and only the child content will be updated allowing us to leverage this more efficient method. tableView.reconfigureRows(at: indexPaths) } else { // A full reload can cause a flicker / animation. Better to avoid with above reconfigure method. diff --git a/MVMCoreUI/BaseControllers/ViewController.swift b/MVMCoreUI/BaseControllers/ViewController.swift index 7977ddc1..d2638243 100644 --- a/MVMCoreUI/BaseControllers/ViewController.swift +++ b/MVMCoreUI/BaseControllers/ViewController.swift @@ -225,7 +225,7 @@ import MVMCore return navigationModel } - /// Processes any new data. Called after the page is loaded the first time and on response updates for this page, Triggers a render refresh. + /// Processes any new data. Called after the page is loaded the first time and on response updates for this page. Triggers a render refresh. @MainActor open func handleNewData(_ pageModel: PageModelProtocol? = nil) {