Giter Club home page Giter Club logo

stream-chat-swift's Introduction

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.


Main Features

  • Uses UIKit patterns and paradigms: The API follows the design of native system SKDs. It makes integration with your existing code easy and familiar.
  • First-class support for SwiftUI and Combine: Built-it wrappers make using the SDK with the latest Apple UI framework a seamless experience. (coming 4/2021)
  • 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 comple 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

ย 

  • 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.

ย 

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.


๐Ÿ‘‰ Migrating from 1.x/2.x

Please check our wiki page for migration.


Roadmap

  • Open UI components for subclassing and customization (3/2021, available in ๐Ÿ…ฑ๏ธ 3.2.0-beta)
  • Local notification support (3/2021)
  • SwiftUI wrappers for UI components (4/2021)
  • Pinned messages (4/2021)
  • Better photo gallery experience (4/2021)
  • Multi-tenancy, teams (4/2021)
  • Silent messages (4/2021)
  • Expired tokens (4/2021)
  • Channel invites (4/2021)
  • Paginating reactions (4/2021)
  • Message search (5/2021)
  • RxSwift wrappers (tbd)

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

stream-chat-swift's People

Contributors

buh avatar vojtastavik avatar evsaev avatar mantergo avatar nuno-vieira avatar manwithbear avatar cardoso avatar dominikbucher12 avatar tbarbugli avatar olejnjak avatar tilton avatar tschellenbach avatar igorrosocha avatar mpodeszwa avatar ajself avatar codifilo avatar dustinburge avatar sukov avatar kevinmiller-thewing avatar fortmarek avatar nlash-livly avatar sambhav7890 avatar ferhatelmas avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.