This repository provides feature-level Chat samples with Swift.
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