Chatto 4.1.0

Chatto 4.1.0

测试已测试
语言语言 SwiftSwift
许可协议 MIT
发布时间最后发布时间2021年5月
SPM支持 SPM

Diego SanchezIgor KashkutaAntonVictor Shamanov 维护。



Chatto 4.1.0

  • Diego Sanchez 和 Anton Schukin

Chatto 构建状态 codecov.io CocoaPods 兼容 Carthage 兼容

Chatto 是一个 Swift 轻量级框架,用于构建聊天应用程序。它被设计得可扩展且性能优秀。与 Chatto 一起,还有 ChattoAdditions,一个伴随框架,它包括消息单元格和一个可扩展的输入组件。您可以在我们的 博客 中找到更多关于其实现方式的详细信息。看看它的实际应用吧!

特性

  • 在后台计算集合视图更改和布局
  • 支持双向分页和自动加载
  • 消息计数竞争,以实现快速分页和旋转数千条消息
  • 从右方滑动显示附件视图
  • 交互式键盘隐藏
  • 文本气泡
  • 照片气泡
  • 可扩展输入栏

如何使用

查看wiki

如何安装

CocoaPods

  1. 确保将 use_frameworks! 添加到您的 Podfile.

  2. 在您的 Podfile 中包含以下内容

# Swift 5
pod 'Chatto', '= 4.0.0'
pod 'ChattoAdditions', '= 4.0.0' # if you want to use the cells or the input component
# Swift 4.2
pod 'Chatto', '= 3.4.0'
pod 'ChattoAdditions', '= 3.4.0' # if you want to use the cells or the input component
# Swift 4
pod 'Chatto', '= 3.3.1'
pod 'ChattoAdditions', '= 3.3.1' # if you want to use the cells or the input component
# Swift 3
pod 'Chatto', '= 3.2.0'
pod 'ChattoAdditions', '= 3.2.0' # if you want to use the cells or the input component
# Swift 2.x
pod 'Chatto', '= 2.1.0'
pod 'ChattoAdditions', '= 2.1.0' # if you want to use the cells or the input component

如果您喜欢站在技术的最前沿,可以使用master分支和

pod 'Chatto', :git => 'https://github.com/badoo/Chatto', :branch => 'master'
pod 'ChattoAdditions', :git => 'https://github.com/badoo/Chatto', :branch => 'master'
  1. 运行 pod install

Carthage

如果您正在使用Carthage,只需将Chatto添加至Cartfile即可

# Swift 5
github "badoo/Chatto"
# Swift 2.x
github "badoo/Chatto" "swift-2"

手动

  1. 克隆、添加为子模块或下载
  2. Chatto 和/或 ChattoAdditions 项目拖放到您的工作区
  3. Chatto 和/或 ChattoAdditions 添加到嵌入式二进制文件中

许可证

源代码在MIT许可证下分发。

Android

查看我们同事的项目 Chateau

博客

技术博客上了解更多,或探索我们的其他开源项目