GithubHelp home page GithubHelp logo

youngshingjun / jetchat Goto Github PK

View Code? Open in Web Editor NEW

This project forked from developerjet/jetchat

0.0 1.0 0.0 30.78 MB

 Swift5.0简仿微信聊天,完美支持表情键盘、单聊、群聊、本地消息会话缓存、朋友圈、黑夜模式。

License: MIT License

Ruby 0.22% Objective-C 0.27% Swift 99.51%

jetchat's Introduction

JetChat

Swift5.0编写的简仿微信聊天应用,完美支持表情键盘、单聊、群聊、本地消息会话缓存、朋友圈、白天和黑夜主题模式
  platform languages support

Examples

聊天 朋友圈
image image
夜间模式 白天模式
image image

主要技术运用

  • 聊天功能采用RxSwift+MVVM响应式架构设计,通过ViewModel合理过渡处理消息数据,减轻Controller层业务计算
  • UITableView+FDTemplateLayoutCell实现cell高度自适应计算和缓存,提高列表滑动顺滑
  • WCDBSwift实现所有会话消息快速缓存
  • 基于IGList数据驱动,实现高帧率朋友圈列表滑动
  • RxTheme适配夜间模式并兼容iOS13跟随系统模式设置
  • SnapKit纯代码自动布局

主要实现功能

  • 聊天室键盘控件封装处理,支持表情文字多行输入,支持iOS13
  • 用户:添加好友,添加群,用户备注名称修改,本地实时同步
  • 聊天:一对一单聊,一对多群聊,支持文字、视频、图片发送和转发,图片和视频浏览
  • 会话:最近聊天会话记录,并按照最近时间排序列表展示
  • 角标:单个会话未读消息数量展示,全部未读消息数量显示
  • 清除:单个消息删除,退出群,删除好友,消息会话角标清除,记录删除

目前基础功能已完成,具体功能了解可以下载源码运行查看 https://github.com/developerjet/JetChat

新增功能

  • 朋友圈:IGList实现高帧率朋友圈列表滑动
  • 黑夜模式:RxTheme实现白天和黑夜主题模式切换并兼容iOS13跟随系统模式设置
  • Widget:新增最近聊天小组件,Widget点击跳转聊天室[注意AppGroupsID配置]
  • 多语言切换:已新增英文翻译

Tips

  • 如果您对该项目有更好的建议和优化方案或者需要新增什么有趣的功能,请在lssues提交.

Licensed under the MIT licens

  • 如果你对该项目感兴趣或者对你有一些帮助,希望可以给我点个🌟Star🌟,非常感谢❤️

jetchat's People

Contributors

developerjet avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.