Skip to content

根据Dribbble V2 免费API开发的iOS App(with: RxSwift, IGListKit, Moya, OAuthSwift)

Notifications You must be signed in to change notification settings

p36348/Oreo-s-Dribbble-Client

Repository files navigation

OreosDrib

17年中开发了第一版, 由于当时使用的v1API已经过期, 加上17年的结构从现在来看并不好, 故重构. 结合几个比较有意思的框架实现. 由于V2API的限制, Popular shots 暂时只能使用从官网拉取的数据做伪请求.

效果ip8p 效果ipad_pro

关键三方框架:

RxSwift

https://github.com/ReactiveX/RxSwift.git

Moya

https://github.com/Moya/Moya.git

IGListKit

https://github.com/Instagram/IGListKit.git

OAuthSwift

https://github.com/OAuthSwift/OAuthSwift.git

主要结构:

API

存储DribbbleAPI, FakeAPI, 通过Moya实现的网络请求.

Service

调用API以及存放数据, 更新数据产生副作用.

Controller

存储用户输入状态, 调用Service的函数, 订阅Service的副作用并作出响应.

About

根据Dribbble V2 免费API开发的iOS App(with: RxSwift, IGListKit, Moya, OAuthSwift)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published