ChattoAdditions 4.1.0

ChattoAdditions 4.1.0

测试已测试
语言语言 SwiftSwift
许可 MIT
发布最新发布2021年5月
SPM支持SPM

Diego SanchezIgor KashkutaAntonVictor Shamanov 维护。



  • Diego Sanchez和Anton Schukin

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

Chatto是一个Swift轻量级框架,用于构建聊天应用。它被设计为可扩展并性能优异。除了Chatto外,还有配套框架ChattoAdditions,其中包含消息单元格和可扩展的输入组件。你可以在我们的博客中找到更多关于如何实现的细节。看看它们的实际应用!

特性

  • 在后台计算集合视图的更改和布局
  • 支持双向分页和自动加载。
  • 支持数千条消息的快速分页和轮询消息计数竞争。
  • 从右侧滑动以揭示附加视图。
  • 交互式键盘取消。
  • 文本泡泡。
  • 照片泡泡。
  • 可扩展的输入栏。

如何使用

查看wiki!

如何安装

CocoaPods

  1. 确保在您的Podfile中添加了use_frameworks!

  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

博客

更多内容请阅读我们的技术博客,或者探索我们的其他开源项目