StreamChat

4.0.1

Official iOS SDK for Stream Chat. Build your own chat experience for iOS.
GetStream/stream-chat-swift

What's New

4.0.1

2021-09-17T18:42:01Z

Added

  • Introduce shouldAddNewChannelToList and shouldListUpdatedChannel delegate callbacks to ChannelListController. With these, one can list/unlist new/updated channels to the existing controller. #1438 #1460
  • Added injection of ChatMessageReactionsBubbleView to Components, so customers will be able to subclass and customise it. #1451
  • Add delegate func for tap on user avatar for a message #1453

🔄 Changed

  • Update ChatClient to disconnect immediately when the Internet connection disappears #1449
  • NewChannelQueryUpdater, which takes care of listing/unlisting new/updated channels, is disabled. We recommend using the new ChannelListController delegate methods shouldAddNewChannelToList and shouldListUpdatedChannel #1460

🐞 Fixed

  • Fix message list wrong content inset when typing events disabled #1455
  • Fix message list unwanted scrolling when typing indicator shown #1456
  • Fix typing events always disabled when channel opened without cache from Channel List #1458
  • Fix hypens (-) are not allowed in custom channel types #1461

The official iOS SDK for Stream Chat

The StreamChatUI SDK is the official iOS SDK for Stream Chat, a service for building chat and messaging applications.


Which Version Should I Choose?

  • 4.x is the current version under development. v4 is currently in the release candidate stage.
  • 3.x is the previous production version and in maintenance mode.
  • 2.x is in maintenance mode.

Main Features

  • Uses UIKit patterns and paradigms: The API follows the design of native system SDKs. It makes integration with your existing code easy and familiar.
  • First-class support for Combine
  • Offline support: Browse channels and send messages while offline.
  • Familiar behavior: The UI elements are good platform citizens and behave like native elements; they respect tintColor, layoutMargins, light/dark mode, dynamic font sizes, etc.
  • Swift native API: Uses Swift's powerful language features to make the SDK usage easy and type-safe.
  • Fully open-source implementation: You have access to the complete source code of the SDK here on GitHub.
  • Supports iOS 11+, Swift 5.2: We proudly support older versions of iOS, so your app can stay available to almost everyone.

Quick Links

  • iOS/Swift Chat Tutorial: Learn how to use the SDK by following our simple tutorial.

  • Register to get an API key for Stream Chat.

  • Installation: Learn more about how to install the SDK using CocoaPods or SPM.

  • Cheat Sheet: Learn how to use the SDK by real-world examples.

  • Demo app: This repo includes a fully functional demo app with example usage of the SDK.

  • Documentation

  • Information about the 2.x version can be found at v2.x README.

Free for Makers

Stream is free for most side and hobby projects. You can use Stream Chat for free if you have less than five team members and no more than $10,000 in monthly revenue.

Main Principles

  • Progressive disclosure: The SDK can be used easily with very minimal knowledge of it. As you become more familiar with it, you can dig deeper and start customizing it on all levels.

  • Highly customizable: Every element is designed to be easily customizable. You can modify the brand color by setting tintColor, apply appearance changes using custom UI rules, or subclass existing elements and inject them everywhere in the system, no matter how deep is the logic heirarchy.

  • open by default: Everything is open unless there's a strong reason for it to not be. This means you can easily modify almost every behavior of the SDK such that it fits your needs.

  • Good platform citizen: The UI elements behave like good platform citizens. They use existing iOS patterns; their beahavior is predictable and matches system UI components; they respect tintColor, layourMargins, dynamic font sizes, and other system-defined UI constants.


We are hiring

We've recently closed a $38 million Series B funding round and we keep actively growing. Our APIs are used by more than a billion end-users, and you'll have a chance to make a huge impact on the product within a team of the strongest engineers all over the world. Check out our current openings and apply via Stream's website.


Quick Overview

Channel List

Features Preview
A list of channels matching provided query
Channel name and image based on the channel members or custom data
Unread messages indicator
Preview of the last message
Online indicator for avatars
Create new channel and start right away

Message List

Features Preview
A list of message in a channel
Photo preview
Message reactions
Message grouping based on the send time
Link preview
Inline replies
Message threads
GIPHY support

Message Composer

Features Preview
Support for multiline text, expands and shrinks as needed
Image and file attachments
Replies to messages
Tagging of users
Chat commands like mute, ban, giphy

Chat Commands

Features Preview
Easily search commands by writing / symbol or tap bolt icon
GIPHY support out of box
Supports mute, unmute, ban, unban commands
WIP support of custom commands

User Tagging Suggestion

Features Preview
User mentions preview
Easily search for concrete user
Mention as many users as you want

Description

  • Swift Tools 5.3.0
View More Packages from this Author

Dependencies

Last updated: Thu Sep 23 2021 20:00:26 GMT-0500 (GMT-05:00)