Tutorials: Swift Chat
Using Stream’s Firebase Extensions as a Server
In this tutorial, we’ll build a fully functioning iOS app that uses Firebase for authentication and Stream for in-app chat, without writing a single line of server code. Thanks to the power of Firebase Extensions, we can automate all the backend plumbing that would typically require custom infrastructure. With the Stream Firebase Extension, user creation
Read more ->
8 min read
Build an AI Assistant for iOS Using Swift
In this tutorial, we will demonstrate how easy it is to create an AI assistant for iOS using Stream Chat. In this example, we will use the Anthropic and OpenAI APIs as our example LLM; however, developers are free to use whichever LLM provider they like and still benefit from Stream’s rich UI support for
Read more ->
9 min read
Building WhatsApp-Style Voice Messages With Swift
Voice messaging is common in popular chat apps such as Telegram, WhatsApp, and Messenger, allowing people to record audio clips and send them to others. This article will explore async voice messaging support in Stream Chat iOS. In the above voice-recording-supported apps, users typically send voice messages through audio attachments. Our iOS SDK has a
Read more ->
9 min read
How to Use Core Spotlight to Improve Your App’s User Experience
To show you how to integrate CoreSpotlight, we’ll build an app that displays a list of countries. When the user selects a country, a few things will happen: Our app will open a new screen with details about the selected country We will index the selection to the Spotlight API Now, when the user enters
Read more ->
8 min read
iOS Passwordless Chat Application with Auth0
Almost every application needs an authentication strategy. The most common being the classic username and password combo. However, there's a new approach some apps are taking to avoid handling or storing user passwords: passwordless authentication. It generally involves sending a one-time PIN (OTP) through a user-owned channel such as their phone or email. If the
Read more ->
4 min read
Generate JWTs with Swift on AWS Lambda
Authorization is one of the essential parts of any iOS application. Once a user is logged in, it's your authorization scheme that will make sure users can't interact with your app in ways they're not allowed to. Without a robust authorization scheme, hackers could easily access sensitive user data and engage in other damaging activities
Read more ->
4 min read
End-to-End Encrypted iOS Chat with Apple's CryptoKit
In most cases, when building a chat app, it's essential to provide adequate privacy and security to your users. This can be done using cryptographic methods such as end-to-end encryption. End-to-end encryption is becoming a mainstream expectation, as it's featured in the biggest chat apps, such as WhatsApp and Telegram. In this article, you'll learn
Read more ->
5 min read
Moderate Chat Content with Swift on AWS Lambda
Most of the time, when building a chat application, it's essential to have some level of control over what your users can share and say to each other. In this tutorial, we'll use Swift Lambda and Stream's powerful chat API to build a content moderation system that can prevent users from sending unwanted content. In
Read more ->
2 min read