Chatto:一个轻量级的Swift框架用来构建聊天应用程序(swift 常用框架)

网友投稿 926 2022-10-11

Chatto:一个轻量级的Swift框架用来构建聊天应用程序(swift 常用框架)

Chatto:一个轻量级的Swift框架用来构建聊天应用程序(swift 常用框架)

Chatto is a Swift lightweight framework to build chat applications. It's been designed to be extensible and performant. Along with Chatto there is ChattoAdditions, a companion framework which includes cells for messages and an extensible input component. You can find more details about how it was implemented in our blog. See them in action!

Features

Calculation of collection view changes and layout in backgroundSupports pagination in both directions and autoloadingMessage count contention for fast pagination and rotation with thousands of messsagesAccessory view revealing by swiping from rightInteractive keyboard dismissalText bubblesPhoto bubblesExtensible input bar

How to use

Check the wiki!

How to install

CocoaPods

Make sure use_frameworks! is added to your Podfile. Include the following in your Podfile:

# Swift 5pod 'Chatto', '= 3.6.0'pod 'ChattoAdditions', '= 3.6.0' # if you want to use the cells or the input component

# Swift 4.2pod 'Chatto', '= 3.4.0'pod 'ChattoAdditions', '= 3.4.0' # if you want to use the cells or the input component

# Swift 4pod 'Chatto', '= 3.3.1'pod 'ChattoAdditions', '= 3.3.1' # if you want to use the cells or the input component

# Swift 3pod 'Chatto', '= 3.2.0'pod 'ChattoAdditions', '= 3.2.0' # if you want to use the cells or the input component

# Swift 2.xpod 'Chatto', '= 2.1.0'pod 'ChattoAdditions', '= 2.1.0' # if you want to use the cells or the input component

If you like living on the bleeding edge, you can use the master branch with:

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

Run pod install

Carthage

If you’re using Carthage, simply add Chatto to your Cartfile:

# Swift 5github "badoo/Chatto"

# Swift 2.xgithub "badoo/Chatto" "swift-2"

Manually

Clone, add as a submodule or download.Drag and drop Chatto and/or ChattoAdditions project to your workspaceAdd Chatto and/or ChattoAdditions to Embedded binaries

License

Source code is distributed under MIT license.

Android

Check our colleagues' project Chateau!

Blog

Read more on our tech blog or explore our other open source projects

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:NAppUpdate 为.NET应用程序提供自动更新支持的简单框架(nappupdate类似)
下一篇:SQL数据库语言基础之SqlServer多表连接查询与INNER JOIN内连接查询
相关文章

 发表评论

暂时没有评论,来抢沙发吧~