Structures

The following structures are available globally.

  • IdoManagerView is a struct which displays Idopte Manager GUI in a WebView. Here, is a basic use of this struct from an empty swiftUI app in order to display Idopte Manager from a button:

    Example

    import ScmApi
    
    struct ContentView: View {
        @State private var showManager = false
    
        var body: some View {
            ZStack {
                Button("Open Manager") {
                    showManager.toggle()
                }
    
                IdoManagerView(shouldShow: $showManager)
            }
        }
    }
    

    Note

    The showManager is a binding variable which allows the Manager to be shown when it is set to true and hiden when it is set to false. It is also possible to know the Manager display state.

    Declaration

    Swift

    public struct IdoManagerView : View