Configure Networking and Pair clients
Make sure that you properly configure Networking and Pair Clients first.Initialize Reown AppKit Client
In order to initialize a client just call aconfigure method from the AppKit instance wrapper
Don't have a project ID?
Head over to Reown Dashboard and create a new project.
AppKit.set(sessionParams: SessionParams(...))
Provided UI components
Now you can use theAppKitButton or AppKitNetworkButton components. These two components reflect the state of the Reown AppKit client,
including the session state, account address and balance, currently selected network, and will automatically update when the state changes.
More can be found in https://github.com/reown-com/reown-swift/blob/develop/Sample/Example/ContentView.swift as part of the Sample app.
Custom UI
If you want to use custom UI you can present the modal by simply calling.Subscribe for Reown Publishers
The following publishers are available to subscribe:Sign methods
Reown AppKit uses the Sign SDK to implement the WalletConnect Protocol. Most Sign SDK functionality is exposed through theAppKit class, the main entry point for developers.