![]() Then, open Main.storyboard and change the view controller class to ContactsViewController: Note: If you’ve created a new project, rename your ViewController.swift and use it instead. Please create a new swift file and name it as shown above. We’ll start by creating a contacts (chats) view controller and make it look like that in the iMessage app. Now that you've done that let's go ahead and move on. After that, you can put your API secret and desired user id in this token generator to get the user token: Within that application, you can find your credentials (API key and secret). You will see that an application has been pre-provisioned for you. Once created, click on the "Chat" tab within the dashboard. To create an application, head over to and create a free account. ![]() Note: You can find your API key in the Stream Dashboard. Open your AppDelegate file and edit your didFinishLaunchingWithOptions function, so it looks like this: The first thing we need to do is configure our StreamChat Client with our API key. ![]() The starter branch sets up the project and dependencies so we can jump right into coding! You can also create a new project in that case, please make sure your Podfile is the same as that in the repo.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |