From 652fcddcdace74048e4bc2eddf02910203870009 Mon Sep 17 00:00:00 2001 From: "Hedden, Kyle Matthew" Date: Tue, 23 Apr 2024 09:40:22 -0400 Subject: [PATCH] Digital PCT265 defect CXTDT-546577 - Remove transcendsPageUpdates to prevent multiple replaces from muliple ReplaceMoleculeBehaviors listening and replacing. --- .../ReplaceableMoleculeBehaviorModel.swift | 2 -- MVMCoreUI/SupportingFiles/mvmcoreui.xcconfig | 13 +++++++++++++ MVMCoreUI/SupportingFiles/mvmcoreui_dev.xcconfig | 16 ++++++++++++++++ 3 files changed, 29 insertions(+), 2 deletions(-) create mode 100644 MVMCoreUI/SupportingFiles/mvmcoreui.xcconfig create mode 100644 MVMCoreUI/SupportingFiles/mvmcoreui_dev.xcconfig diff --git a/MVMCoreUI/Behaviors/ReplaceableMoleculeBehaviorModel.swift b/MVMCoreUI/Behaviors/ReplaceableMoleculeBehaviorModel.swift index e52ee464..d8d0c476 100644 --- a/MVMCoreUI/Behaviors/ReplaceableMoleculeBehaviorModel.swift +++ b/MVMCoreUI/Behaviors/ReplaceableMoleculeBehaviorModel.swift @@ -21,8 +21,6 @@ public class ReplaceableMoleculeBehavior: PageMoleculeTransformationBehavior { private var observingForResponses: NSObjectProtocol? private var delegateObject: MVMCoreUIDelegateObject? - public var transcendsPageUpdates: Bool { true } - public required init(model: PageBehaviorModelProtocol, delegateObject: MVMCoreUIDelegateObject?) { moleculeIds = (model as! ReplaceableMoleculeBehaviorModel).moleculeIds let shouldListenForListUpdates = delegateObject?.moleculeListDelegate != nil diff --git a/MVMCoreUI/SupportingFiles/mvmcoreui.xcconfig b/MVMCoreUI/SupportingFiles/mvmcoreui.xcconfig new file mode 100644 index 00000000..91c90442 --- /dev/null +++ b/MVMCoreUI/SupportingFiles/mvmcoreui.xcconfig @@ -0,0 +1,13 @@ +// +// mvmcore_ui.xcconfig +// MVMCoreUI +// +// Created by Kyle Hedden on 4/23/24. +// Copyright © 2024 Verizon Wireless. All rights reserved. +// + +// Configuration settings file format documentation can be found at: +// https://help.apple.com/xcode/#/dev745c5c974 + +// Refer back to the workspace settings if they exist. +#include? "../../../workspaceSettings.xcconfig" diff --git a/MVMCoreUI/SupportingFiles/mvmcoreui_dev.xcconfig b/MVMCoreUI/SupportingFiles/mvmcoreui_dev.xcconfig new file mode 100644 index 00000000..d6815c1d --- /dev/null +++ b/MVMCoreUI/SupportingFiles/mvmcoreui_dev.xcconfig @@ -0,0 +1,16 @@ +// +// mvmcore_ui_dev.xcconfig +// MVMCoreUI +// +// Created by Kyle Hedden on 4/23/24. +// Copyright © 2024 Verizon Wireless. All rights reserved. +// + +// Configuration settings file format documentation can be found at: +// https://help.apple.com/xcode/#/dev745c5c974 + +SWIFT_ACTIVE_COMPILATION_CONDITIONS = $(inherited) LOGGING +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) LOGGING=1 + +// Refer back to the workspace settings if they exist. +#include? "../../../workspaceSettings.xcconfig"