All Projects → miniLV → Mnweibo

miniLV / Mnweibo

Licence: mit
Swift5 + MVVM + 文艺复兴微博(纯代码 + 纯Swift),可作为第一个上手的Swift项目.

Programming Languages

swift
15916 projects

Labels

Projects that are alternatives of or similar to Mnweibo

Mmlpx
🐘 mobx model layer paradigm
Stars: ✭ 164 (-10.38%)
Mutual labels:  mvvm
Signalchat
WPF-MVVM instant messaging application using SignalR
Stars: ✭ 172 (-6.01%)
Mutual labels:  mvvm
Rglistkit
RGListKit is a Protocol & MVVM based framework to easily populate a UITableView or UICollectionView via single api.
Stars: ✭ 178 (-2.73%)
Mutual labels:  mvvm
Remvvm
ReMVVM is an application architecture concept, marriage of Unidirectional Data Flow (Redux) with MVVM.
Stars: ✭ 168 (-8.2%)
Mutual labels:  mvvm
Local Db Cache Retrofit Rest Api Mvvm
App that interacts with a REST API using Retrofit. There is a local db cache and architecture is MVVM
Stars: ✭ 171 (-6.56%)
Mutual labels:  mvvm
Droid Feed
Aggregated Android news, articles, podcasts and conferences about Android Development
Stars: ✭ 174 (-4.92%)
Mutual labels:  mvvm
Upcomingmovies
Movies app written in Swift 5 using the TMDb API and demonstrating Clean Architecture, Dependency Injection, MVVM and Coordinators.
Stars: ✭ 160 (-12.57%)
Mutual labels:  mvvm
Collor
A declarative-ui framework for UICollectionView with great and useful features.
Stars: ✭ 182 (-0.55%)
Mutual labels:  mvvm
Memes
MVVM example app. Quick blog post detailing the layers: https://medium.com/@mojroid/clean-architecture-on-android-using-feature-modules-mvvm-view-slices-and-kotlin-e9ed18e64d83
Stars: ✭ 172 (-6.01%)
Mutual labels:  mvvm
Rxpm
Reactive implementation of Presentation Model pattern in Android
Stars: ✭ 176 (-3.83%)
Mutual labels:  mvvm
Nine grid view
Flutter NineGridView & DragSortView. Similar to Weibo / WeChat nine grid view controls to display pictures. Flutter仿微信/微博九宫格、拖拽排序,微信群组,钉钉群组,QQ讨论组头像。
Stars: ✭ 169 (-7.65%)
Mutual labels:  weibo
Swifthub
GitHub iOS client in RxSwift and MVVM-C clean architecture
Stars: ✭ 2,330 (+1173.22%)
Mutual labels:  mvvm
Weibo Img Crypto
自动加密解密微博上传的图片
Stars: ✭ 176 (-3.83%)
Mutual labels:  weibo
Coroutines Flows Modularised
Clean Architecture Modular Project: MVVM + Coroutines+ Flows + Dagger2 + LiveData + UnitTests + UITests + MockWebServer
Stars: ✭ 166 (-9.29%)
Mutual labels:  mvvm
Mvvm Architecture Android Beginners
This repository contains a sample app that implements MVVM architecture using Kotlin, ViewModel, LiveData, and etc.
Stars: ✭ 176 (-3.83%)
Mutual labels:  mvvm
Clean Architecture Swiftui
SwiftUI sample app using Clean Architecture. Examples of working with CoreData persistence, networking, dependency injection, unit testing, and more.
Stars: ✭ 2,925 (+1498.36%)
Mutual labels:  mvvm
Kotlin Mvvm
Sample for MVVM using Kotlin
Stars: ✭ 173 (-5.46%)
Mutual labels:  mvvm
Weibospider
This is a sina weibo spider built by scrapy [微博爬虫/持续维护]
Stars: ✭ 2,408 (+1215.85%)
Mutual labels:  weibo
Android Firebase Kotlin Java Mvp Mvc Mvvm Chat
Simple chat Application with one to one connectivity using Firebase Real time Database written in MVC,MVP and MVVM architecture to better understand the android coding patterns. Purpose of writing same application functionality with 3 different pattern is to show how single application can be developed using 3 different patterns(Mvc, Mvp, Mvvm).
Stars: ✭ 180 (-1.64%)
Mutual labels:  mvvm
The Movie Db Kotlin
The Movie DB app using Kotlin with updated Android features
Stars: ✭ 176 (-3.83%)
Mutual labels:  mvvm

Swift5 + MVVM + 文艺复兴微博(纯代码)


项目架构


主页界面


表情界面


项目功能

  • [x] 原创微博功能
  • [x] 转发微博功能
  • [x] Emoji表情功能
  • [x] 撰写微博界面
  • [x] 新特性功能
  • [x] 消息提醒功能
  • [x] 多图展示功能
  • [x] 富文本功能
  • [x] 多图展示功能
  • [x] 下滑自动加载功能
  • [x] 上/下拉刷新功能
  • [x] OAuth 授权登录功能
  • [x] 已完成
  • [ ] 发布微博功能(API已不提供)
  • [ ] 图片上传功能(API已不提供)
  • [ ] 消息功能
  • [ ] 发现功能
  • [ ] 我的功能
  • [ ] SVProgressHUD 提醒功能

用到的技术点

  • TableView高度缓存
  • SDWebImage圆角处理
  • FMDB数据缓存
  • OAuth授权
  • 单张图片的高度计算
  • Cell滚动自动加载更多
  • 撰写页面的动画处理
  • 发布界面的Emoji处理
  • 多图的展示
  • ...

使用的第三方库

  • AFNetworking
  • SDWebImage
  • YYModel
  • SnapKit
  • FMDB
  • pop
  • HMPhotoViewerController

下期优化

  • 使用 Swift 版的字典转模型,使用Codable 替换 YYModel
  • 使用 Swift 的网络请求库, 替换 AFNnetworking
  • 更加 Swift~
  • ...

工具分享

图片素材获取: cartool

取色标注工具: MarkMan

数据库工具: Navicat

画图工具: MindNode

...


使用说明

Weibo Api 更新,原本的三种登录方法现在均无法使用,需使用WeiboSDK.(已更新)

可行方案: 使用准备好的Weibo账号登录.

账号: 13580587848

密码: gxt11629

方案一: 使用App 里面的“自动填充”功能,里面有准备好的测试账号了(已废弃)

方案二: 使用固定的 access_token(已废弃)

  1. 登录微博, 进入开发微博开发平台 https://open.weibo.com/apps/new?sort=mobile 创建一个app应用,平台选iPhone
  2. https://open.weibo.com/tools/console 获取 Access Token,替换项目里面的 access_token 的返回值即可

方案三: 使用用户账号/密码在微博门户网站登录(OAuth授权)(已废弃)

  1. 登录微博, 进入开发微博开发平台 https://open.weibo.com/apps/new?sort=mobile 创建一个app应用,平台选iPhone
  2. 在 “应用信息里”,获取该 App 的 App key & App Secret , 分别替换项目里的 MNAppKey & MNAppSecret

image-20200428150543679

  1. 设置 OAuth 授权页面的授权回调页

WX20200428-145508@2x


背景&总结:MSwift5 + MVVM + 文艺复兴微博(纯代码)


本文感谢 新浪提供的 API 支持,感谢 天涯刀哥-傅红雪 的指导

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].