This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // 1. We need to define the screen "global" state | |
| struct ParentState: Equatable { | |
| var view1State: [String] | |
| var view2State: Int | |
| } | |
| enum ParentActions { | |
| case view1(View1Actions) | |
| case view2(View2Actions) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| final class DidomiServiceProxy { | |
| static let shared = DidomiServiceProxy() | |
| private static let apiKey = "xxxxxxxxx" | |
| private let service = Didomi.shared | |
| init() { | |
| service.onReady { [weak self] in | |
| print("DIDOMI READY") |
OlderNewer