• Stars
    star
    996
  • Rank 46,003 (Top 1.0 %)
  • Language
    Swift
  • License
    MIT License
  • Created over 5 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

🇨🇳 Learn how to make WeChat with SwiftUI. 微信 7.0 🟢

SwiftUI-WeChat

codebeat badge


Overview

  • I will continue to follow the development of technology, the goal is to bring SwiftUI-WeChat to an infinitely close WeChat experience. When you want to implement a function similar to WeChat, you can quickly find out how to implement this function in this project, so I believe this project will help someone.

  • The plan will be perfected until the popularity of SwiftUI, update occasionally. If you have questions about the implementation, or have better ideas, please feel free to communicate with me in issue

  • Your ★ Star is my biggest motivation

Features

  • All based on SwiftUI2 (SwiftUI1 Version).
  • The navigation bar changes when the homepage switches. TabView is hidden in the details page.
  • Timeline: Picture layout. Play online video. The status bar navigation bar changes as you scroll through the list.
  • Full support for Dark Mode

Screenshots

Light Mode Dark Mode
HomeView HomeView
ChatView ChatView
ContactView ContactView
DiscoverView DiscoverView
MomentView MomentView
MeView MeView

TODO

  • Homepage: Support left slide to delete chat content
  • Chat: keyboard processing, multi-line text box height, send content, more media types, emoji, voice, etc.
  • Timeline: pull-down refresh, pull-up loading, full-screen preview of pictures and videos, comments, likes, etc.
  • Search interface

Requirements

  • iOS 14+
  • Xcode 12+
  • Swift 5.3+

Contributors

Create by 森仔

Banner Design by @aduqin

License

SwiftUI-WeChat is released under the MIT license. See LICENSE for details.


中文

SwiftUI-WeChat

codebeat badge


项目概览

  • 我将持续关注 SwiftUI 技术的发展,目标是将 SwiftUI-WeChat 更新至无限接近微信的体验。每个人都熟悉微信,因此当您想实现类似于微信的功能时,可以通过此项目了解实现思路,因此我相信这个项目会对大家有帮助。

  • 此项目计划维护到 SwiftUI 真正流行为止。如果您对实现有疑问,或者有更好的想法,请随时在 issue 中与我交流,或者提交 PR。

  • 你的 ★ Star 是我最大的动力

功能特性

  • 全部基于 SwiftUI2(SwiftUI1 版本传送门)。
  • 底部导航切换时顶部导航更新,进入二级界面时底部导航隐藏。
  • 朋友圈:多种宫格布局、可播放在线视频、状态栏导航栏随列表滚动变化。
  • 完全支持夜间模式。
  • 特殊处理、知识点中文注释

屏幕截图

Light Mode Dark Mode
HomeView HomeView
ChatView ChatView
ContactView ContactView
DiscoverView DiscoverView
MomentView MomentView
MeView MeView

项目依赖

  • iOS 14+
  • Xcode 12+
  • Swift 5.3+

贡献者

作者 森仔

Banner 设计 @aduqin

开源许可

SwiftUI-WeChat is released under the MIT license. See LICENSE for details.

More Repositories

1

SwiftTheme

🎨 Powerful theme/skin manager for iOS 9+ 主题/换肤, 暗色模式
Swift
2,445
star
2

GSMessages

A simple style messages/notifications, in Swift.
Swift
709
star
3

VideoPlayer

📽 A video player for SwiftUI, support for caching, preload and custom control view. SwiftUI 视频播放器,支持边下边播、预加载、自定义控制层
Swift
491
star
4

GSPlayer

⏯ Video player, support for caching, preload, fullscreen transition and custom control view. 视频播放器,支持边下边播、预加载、全屏转场和自定义控制层
Swift
343
star
5

GSImageViewerController

An image viewer controller with zoom transition, in Swift.
Swift
287
star
6

Refresh

🎈 Great SwiftUI drop-down refresh and scroll up to load more. 下拉刷新、上拉加载
Swift
255
star
7

GSCaptchaButton

为普通按钮增加验证码倒计时功能,不影响按钮样式
Swift
54
star
8

GSRefresh

Fully customizable drop-down refresh and load more.
Swift
33
star
9

TabBar

🚥 TabBar for SwiftUI - Make custom TabView possible
Swift
31
star
10

GSAlert

[deprecated] UIAlertController support iOS 7+ and written in swift.
Swift
28
star
11

POP-SnapKit

[deprecated] Use SnapKit with the Facebook Pop animation framework.
Objective-C++
21
star
12

GSPhotos

[deprecated] PhotosKit+ALAssetsLibrary, 支持iOS7+, 基于Swift
Swift
9
star
13

GSChange

Automatically synchronize changes, such as likes, follow, etc.
Swift
8
star
14

wxxsw

5
star
15

GSVerificationCode

验证码控件,支持设置输入长度、自定义外观等
Swift
3
star
16

SwiftThemeResources

Resources of SwiftTheme demo
2
star
17

ImageViewer

1
star