Swift
Introduction
In this task, you will learn how to create and configure a Client SDK Application and then code an application that enables two users to send messages to each other.
First, you will create a Conversation and two Users. Then, you will authenticate these Users and add them to the Conversation as Members.
Finally, you will implement chat functionality in your application, including the ability to view and send messages.
If you would like to follow along without building the app yourself, the completed project is available on Github - please see the in-app-messaging-swift folder.
This tutorial uses NexmoClient version 4.0 and Swift 5
Creating an iOS chat app
Create a iOS application that enables users to message each other
Steps
1
Introduction to this task2
Prerequisites3
Create a Vonage Application4
Create a conversation5
Create the users6
Add users to the conversation7
Generate JWTs8
Xcode project and workspace9
Building the log in interface10
Building the user model11
NXMClient12
Building the chat interface13
Chat events14
Sending a message15
What's next?