diff --git a/AdyenActions/Components/SDK/Twint+Injectable.swift b/AdyenActions/Components/SDK/Twint+Injectable.swift index fdbd715e49..07c215d420 100644 --- a/AdyenActions/Components/SDK/Twint+Injectable.swift +++ b/AdyenActions/Components/SDK/Twint+Injectable.swift @@ -72,7 +72,8 @@ import Foundation /// Re-casting **`[TWAppConfiguration]`** into **`[TWAppConfiguration]`** via **`[NSObject]`** /// /// - **Background:** If different SDKs that use the **TwintSDK** internally are imported by an app - /// it can lead to the system providing a **TwintSDK** class of the other SDK resulting in a runtime crash when type checking. See: [Github Issue](https://github.com/Adyen/adyen-ios/issues/1902) + /// it can lead to the system providing a **TwintSDK** class of the other SDK resulting in a runtime crash when type checking. + /// See: [Github Issue](https://github.com/Adyen/adyen-ios/issues/1902) /// - **Solution:** To work around this we implicitly cast the `[TWAppConfiguration]` to an `[NSObject]` /// and then explicitly back to `[TWAppConfiguration]` which makes sure the correctly loaded class is used. private static func reCastedAppConfigurations(from configurations: [NSObject]?) -> [TWAppConfiguration] {