Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A WeChat alternative. Written in Swift 5.

License

NotificationsYou must be signed in to change notification settings

hilen/TSWeChat

Repository files navigation

TSWeChat

TSWeChat - AWeChat 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 inTSChatImageCell is drawn by usingMask Layer . The chat background can be changed freely so that UI will look perfect.
  • Custom expression keyboard, custom tool keyboard.
  • Audiowav files can be automatically converted intoamr files which facilite file transfer to Android devices. Both of the two type files have been doing cache.
  • When you tap theTSChatVoiceCell. It will automatically check the cache and download it byAlamofire.
  • When you send the image, it will be stored locally by using the caching mechanism ofKingfisher. After successfully uploaded, it will be automatically modified to image link'sMD5 value file name.
  • The data are loaded from the JSON file. All theModels are created viaObjectMapper which is easy to convert model objects (classes and structs) from JSON.

Preview

Runpod install in theTerminal and then runTSWeChat.xcworkspace to see all the views.

Directory

Directory nameIntroduction
ClassesTo deposit different folders likeViewController,View. Sub directories are divided based on business logic, Such asMessage,Address Book,Tabbar,Me,Login and etc, divided according to their functions.
Classes/CoreModuleTo deposit encapsulation of business logic of basic classes, like HttpManager, Models, ApplicationManager and etc.
GeneralTo deposit reusedView and Class related with business logic, such as color extension.
HelpersNon-business logic extension, such as:UIView+Extension.swift,UIImage+Resize.swift and etc.
MacroTo deposit macros and constant definitions used in the whole application, such asNotifications name , and the third party librarie's keys.
ResourcesResources. Such asAssets.xcassets,Media.xcassets,JSON files,media files,plist files and etc.
VendorTo deposit the third party liabraries that cannot be installed byCocoapods.
Supporting FilesTo deposit the original files
ScriptsAPNs script, export IPA file script and etc.
SketchTo 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. SeeLICENSE 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

About

A WeChat alternative. Written in Swift 5.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors4

  •  
  •  
  •  
  •  

Languages


[8]ページ先頭

©2009-2026 Movatter.jp