This tutorial will walk you through developing a basic chat application in Swift using PubNub.
This tutorial will focus on the Swift SDK and not the community-supported chat UI components designed for iOS.
The source code for this application can be found on Github at https://github.com/PubNubDevelopers/GettingStarted-Swift-SDK-Tutorial
1
Before running this application, be sure you have the following installed:
XCode. The application was created with version 13.4.1 of Xcode but any recent version should work.
In a terminal, navigate to an empty folder. Enter the following command to clone the repository:
The main git branch contains the completed version of this tutorial. If you would like to follow along, please checkout the following branch: