MIT License

项目介绍

lanceylai/TSWeChat 是一个托管在 GitHub 上的开源项目,主要使用 Swift 编写,采用 MIT License 许可证,目前获得 3.7k 个 Star、755 次 Fork。

仓库全名
lanceylai/TSWeChat
开源许可证
MIT License
Star 数
3.7k
Fork 数
755
未关闭 Issue
17

README 摘要

TSWeChat - A WeChat alternative, updated to Swift 5.       中文说明 Requirements Cocoapods 1.2.0 + iOS 10.0+ / Mac OS X 10.9+ Xcode 10.0+ Features Send your rich text, expression, image and voice. The cell image in TSChatImageCell is drawn by using Mask Layer . The chat background can be changed freely so that UI will look perfect. Custom expression keyboard, custom tool keyboard. Audio wav…

完整内容见 GitHub 原始 README 或本页 。

常见问题

TSWeChat 用什么语言开发?

主要使用 Swift 编写,采用 MIT License 许可证,目前有 3.7k 个 Star。

TSWeChat 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 TSWeChat 的源码?

可以直接克隆仓库:git clone https://github.com/lanceylai/TSWeChat.git,默认分支为 master;安装与运行步骤见仓库 README。

TSWeChat 最近还在维护吗?

仓库最近一次更新为 2019年7月28日,当前有 17 个未关闭 Issue;Star 数为 3.7k,可作为社区活跃度的参考。

简要分析

热度分
5400
价值分
2486
活跃状态
活跃

语言占比

Objective-C
PHP
Ruby
Shell
Swift

Release

README

TSWeChat

TSWeChat - A WeChat alternative, updated to Swift 5.       中文说明

Requirements

  • Cocoapods 1.2.0 +
  • iOS 10.0+ / Mac OS X 10.9+
  • Xcode 10.0+

Features

  • Send your rich text, expression, image and voice.
  • The cell image in TSChatImageCell is drawn by using Mask Layer . The chat background can be changed freely so that UI will look perfect.
  • Custom expression keyboard, custom tool keyboard.
  • Audio wav files can be automatically converted into amr files which facilite file transfer to Android devices. Both of the two type files have been doing cache.
  • When you tap the TSChatVoiceCell. It will automatically check the cache and download it by Alamofire.
  • When you send the image, it will be stored locally by using the caching mechanism of Kingfisher. After successfully uploaded, it will be automatically modified to image link’s MD5 value file name.
  • The data are loaded from the JSON file. All the Models are created via ObjectMapper which is easy to convert model objects (classes and structs) from JSON.

Preview

Run pod install in the Terminal and then run TSWeChat.xcworkspace to see all the views.

Directory

Directory name Introduction
Classes To deposit different folders like ViewController, View. Sub directories are divided based on business logic, Such as Message,Address Book,Tabbar,Me,Login and etc, divided according to their functions.
Classes/CoreModule To deposit encapsulation of business logic of basic classes, like HttpManager, Models, ApplicationManager and etc.
General To deposit reused View and Class related with business logic, such as color extension.
Helpers Non-business logic extension, such as: UIView+Extension.swift, UIImage+Resize.swift and etc.
Macro To deposit macros and constant definitions used in the whole application, such as Notifications name , and the third party librarie’s keys.
Resources Resources. Such as Assets.xcassets, Media.xcassets, JSON files, media files, plist files and etc.
Vendor To deposit the third party liabraries that cannot be installed by Cocoapods.
Supporting Files To deposit the original files
Scripts APNs script, export IPA file script and etc.
Sketch To deposit the original Sketch files. All the recourses in the project are come from the WeChat IPA folder, but some images I can’t find. So I decided to do it myself. Yeah, I love design, sometimes coder become a designer is feeling good. XD

Vendor

See more details

License

TSWeChat is released under the MIT license. See LICENSE for details.

To Do

  • The custom photo album
  • WeChat custom ActionSheet
  • Long press the chat cell
  • The image viewer
  • Address book
  • GIF image cell in TSChatViewController
  • QRCodeViewController
  • ShakeViewController
  • Send my address
  • Video cell in TSChatViewController
  • TimelineViewController
  • Multilanguage support
  • And so on…

Contributing

  • All kinds of contributions (enhancements, new features, documentation & code improvements, issues & bugs reporting & todo task) are welcome. Let’s make it better. XD

评论

暂无评论