swift
In this tutorial, you will use the Vonage Video Client SDK for iOS to build a one-to-one video chat in SwiftUI. To get started, open Xcode and create a new project by going to File > New > Project. Select iOS as the platform and App for the template and give it a name. Install the Video Client SDK as a dependency and add necessary permissions. Create an instance of the OpenTokManager class, which connects to the Vonage servers using your credentials. The OpenTokManager class handles the setup, publishing, subscribing, and cleanup of streams. You can then build the UI by creating a ContentView that displays the publisher and subscriber views. If you build and run the project, you should now be able to start a video chat with another device or the OpenTok Playground.