{"id":17463882,"url":"https://github.com/linxunfeng/lxfwechat","last_synced_at":"2025-04-06T10:13:41.225Z","repository":{"id":110283622,"uuid":"81941599","full_name":"LinXunFeng/LXFWeChat","owner":"LinXunFeng","description":"Swift 3.0 WeChat","archived":false,"fork":false,"pushed_at":"2020-10-11T07:17:00.000Z","size":184043,"stargazers_count":433,"open_issues_count":2,"forks_count":91,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-03-30T09:07:16.768Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LinXunFeng.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-02-14T12:08:13.000Z","updated_at":"2025-03-08T10:46:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"b62701ea-7a35-48b1-b192-942334381417","html_url":"https://github.com/LinXunFeng/LXFWeChat","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LinXunFeng%2FLXFWeChat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LinXunFeng%2FLXFWeChat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LinXunFeng%2FLXFWeChat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LinXunFeng%2FLXFWeChat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LinXunFeng","download_url":"https://codeload.github.com/LinXunFeng/LXFWeChat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247464224,"owners_count":20942970,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-18T10:44:02.638Z","updated_at":"2025-04-06T10:13:41.191Z","avatar_url":"https://github.com/LinXunFeng.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LXFWeChat\nSwift 3.0 高仿微信\n\n\u003e 两个测试账号： lxf lqr  密码都是123456 \n\n## 完整项目\n\n感谢大家的支持，在此提供存放于百度云的完整项目[【高仿微信】- 百度云](https://pan.baidu.com/s/1bpB55Bx)\n\n希望各位能为我的项目献出一个宝贵的Star\n\n谢谢\n\n\n## 模仿微信的导航栏\n在navigationBar底部添加一个添加了渐变层的view\n```swift\nlet blurBackView = UIView()\nblurBackView.frame = CGRect(x: 0, y: -20, width: kScreenW, height: 64)\nlet gradintLayer = CAGradientLayer()\ngradintLayer.frame = CGRect(x: 0, y: 0, width: kScreenW, height: 64)\ngradintLayer.colors = [\n    UIColor.hexInt(0x040012).withAlphaComponent(0.76).cgColor,\n    UIColor.hexInt(0x040012).withAlphaComponent(0.28).cgColor\n]\ngradintLayer.startPoint = CGPoint(x: 0, y: 0)\ngradintLayer.endPoint = CGPoint(x: 0, y: 1.0)\nblurBackView.layer.addSublayer(gradintLayer)\nblurBackView.isUserInteractionEnabled = false\nblurBackView.alpha = 0.5\n\n// 设置导航栏样式\nnavigationBar.barStyle = .black\nnavigationBar.insertSubview(blurBackView, at: 0)\n```\n\n## 表情面板和更多面板\n遇到的问题总结了一下，可以参考下以下总结的文章\n\n[《iOS - Swift UICollectionView横向分页滚动，cell左右排版》](https://juejin.im/post/6844903533507002376)\n\n[《iOS - Swift UICollectionView横向分页的问题》](https://juejin.im/post/6844903533498597384)\n\n## 聊天界面\n[《iOS - Swift 仿微信聊天图片显示》](https://juejin.im/post/6844903533511344142)\n\n[《iOS - Swift UITableView的scrollToRow的\"坑\"》](https://juejin.im/post/6844903533473431560)\n\n[《iOS - Swift UIButton中ImageView的animationImages动画执行完毕后，图标变暗》](https://juejin.im/post/6844903533502791693)\n\n\n## 首页\n[《iOS - Swift 仿微信小红点(无数字)》](https://juejin.im/post/6844903533490208775)\n\n\n\u003e由于个人原因，近期不怎么有时间去完善该项目，所以先同步上来，待有空继续去搞定它！\n\n## 目前完成的功能\n### 微信界面\n1. 显示右上角的菜单\n2. 显示最近联系人\n3. 最近联系人信息未读数的显示\n\n### 通讯录界面\n1. 联系人的排序\n2. 联系人总数显示\n\n### 发现界面\n1. 动态小红点的显示\n2. 购物选项的链接跳转\n\n### 我界面\n1. 个人头像的上传与设置，及头像的保存\n2. 我的二维码界面的显示及二维码的保存\n\n### 聊天界面\n1. 小视频的录制与发送\n2. 小视频的播放\n3. 聊天时间\n4. 图片的发送与显示\n5. 未发送成功的重发功能\n6. 语音的录制与发送\n7. 语音的播放动态效果\n\n## 已知BUG\n小视频和图片发送出去后不能立即更新显示缩略图\n\n## 2017-07-24 更新\n抽空出来添加了一个简单的直播功能（对方需要先进入到对应的聊天界面）\n[iOS - 给高仿微信添加直播聊天功能](https://juejin.im/post/6844903533506985997)\n需要用到[编译好的B站开源库ijkplayer](https://github.com/LinXunFeng/IJKFramework) ，由于打包好的文件太大，传不上来，所以需要各位去自己编译集成进去。\n\n\n## 效果图\n### 动态图\n![image](https://github.com/LinXunFeng/LXFWeChat/raw/master/Screenshots/1.gif)\n![image](https://github.com/LinXunFeng/LXFWeChat/raw/master/Screenshots/2.gif)\n![image](https://github.com/LinXunFeng/LXFWeChat/raw/master/Screenshots/3.gif)\n![image](https://github.com/LinXunFeng/LXFWeChat/raw/master/Screenshots/4.gif)\n![image](https://github.com/LinXunFeng/LXFWeChat/raw/master/Screenshots/5.gif)\n![image](https://github.com/LinXunFeng/LXFWeChat/raw/master/Screenshots/6.gif)\n![image](https://github.com/LinXunFeng/LXFWeChat/raw/master/Screenshots/7.gif)\n![image](https://github.com/LinXunFeng/LXFWeChat/raw/master/Screenshots/8.gif)\n\n### 静态图\n![image](https://github.com/LinXunFeng/LXFWeChat/raw/master/Screenshots/Snip20170206_1.png)\n![image](https://github.com/LinXunFeng/LXFWeChat/raw/master/Screenshots/Snip20170214_1.png)\n![image](https://github.com/LinXunFeng/LXFWeChat/raw/master/Screenshots/Snip20170214_2.png)\n![image](https://github.com/LinXunFeng/LXFWeChat/raw/master/Screenshots/Snip20170214_3.png)\n![image](https://github.com/LinXunFeng/LXFWeChat/raw/master/Screenshots/Snip20170214_4.png)\n![image](https://github.com/LinXunFeng/LXFWeChat/raw/master/Screenshots/Snip20170214_5.png)\n![image](https://github.com/LinXunFeng/LXFWeChat/raw/master/Screenshots/Snip20170214_6.png)\n![image](https://github.com/LinXunFeng/LXFWeChat/raw/master/Screenshots/Snip20170214_7.png)\n![image](https://github.com/LinXunFeng/LXFWeChat/raw/master/Screenshots/Snip20170214_8.png)\n![image](https://github.com/LinXunFeng/LXFWeChat/raw/master/Screenshots/Snip20170214_9.png)\n\n\n\n\n\n## Author\n\n- LinXunFeng\n- email: [xunfenghellolo@gmail.com](mailto:xunfenghellolo@gmail.com)\n- Blogs:  [LinXunFeng‘s Blog](http://linxunfeng.top/)  | [掘金](https://juejin.im/user/58f8065e61ff4b006646c72d/posts)\n\n\n\n| \u003cimg src=\"https://github.com/LinXunFeng/site/raw/master/source/images/others/wx/wxQR_tip.png\" style=\"width:200px;height:200px;\"\u003e\u003c/img\u003e | \u003cimg src=\"https://github.com/LinXunFeng/site/raw/master/source/images/others/pay/alipay_tip.png\" style=\"width:200px;height:200px;\"\u003e\u003c/img\u003e | \u003cimg src=\"https://github.com/LinXunFeng/site/raw/master/source/images/others/pay/wechat_tip.png\" style=\"width:200px;height:200px;\"\u003e\u003c/img\u003e |\n| :----------------------------------------------------------: | :----------------------------------------------------------: | :----------------------------------------------------------: |\n|                                                              |                                                              |                                                              |\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinxunfeng%2Flxfwechat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flinxunfeng%2Flxfwechat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinxunfeng%2Flxfwechat/lists"}