This repository provides feature-level Chat samples with Swift.
When a new Sendbird application is created in the dashboard the default security settings are set permissive to simplify running samples and implementing your first code.
Before launching make sure to review the security tab under βοΈ Settings -> Security, and set Access token permission to Read Only or Disabled so that unauthenticated users can not login as someone else. And review the Access Control lists. Most apps will want to disable "Allow retrieving user list" as that could expose usage numbers and other information.
You must use tuist to build these sample apps.
curl -Ls https://install.tuist.io | bash
tuist fetch
tuist generate
For more details: Tuist Docs
Samples.xcworkspace
..
βββ Samples.xcworkspace
βββ Modules
βΒ Β βββ CommonModule # Common Logic & View
βββ Apps
βΒ Β βββ BasicGroupChannel
βΒ Β βββ BasicOpenChannel
βΒ Β βββ GroupChannelFeatureA
βΒ Β βββ OpenChannelFeatureA
β βββ ...
β βββ GroupChannelFeatureN
βΒ Β βββ OpenChannelFeatureN
βββ Tuist
CommonModule
is used as an embedded framework in each Sample App.Below is an additional explanation for contributors.
Feature Sample App
with tuistBasicGroupChannel
to {FeatureSampleName}
"BasicGroupChannel"
to "{FeatureSampleName}"
in Apps/{FeatureSampleName}/Project.swift
let project = Project.app(name: {FeatureSampleName})
tuist generate