All Projects → duyquang91 → Cathay

duyquang91 / Cathay

Licence: other
an iOS project for demonstration of Reactive Programming

Programming Languages

swift
15916 projects
shell
77523 projects

Projects that are alternatives of or similar to Cathay

Bark
Bark is an iOS App which allows you to push customed notifications to your iPhone
Stars: ✭ 2,371 (+11190.48%)
Mutual labels:  rxswift, mvvm, rxcocoa
MovieInfoMVVMiOS
Movie Info app using TMDb API built with MVVM
Stars: ✭ 38 (+80.95%)
Mutual labels:  rxswift, mvvm, rxcocoa
GITGET
GitHub의 Contributions를 iOS의 Widget으로 보여주는 App
Stars: ✭ 101 (+380.95%)
Mutual labels:  rxswift, mvvm, rxcocoa
Mp3ID3Tagger
🎶🎵A macOS application to edit the ID3 tag of your mp3 files. Developed with RxSwift and RxCocoa. 🎸🎼
Stars: ✭ 17 (-19.05%)
Mutual labels:  rxswift, mvvm, rxcocoa
StackBarButtonItem
🔲 StackBarButtonItem can use BarButtonItem like StackView
Stars: ✭ 55 (+161.9%)
Mutual labels:  rxswift, carthage, rxcocoa
Iossampleapp
Sample iOS app demonstrating Coordinators, Dependency Injection, MVVM, Binding
Stars: ✭ 510 (+2328.57%)
Mutual labels:  rxswift, carthage, mvvm
Xcoordinator
🎌 Powerful navigation library for iOS based on the coordinator pattern
Stars: ✭ 1,752 (+8242.86%)
Mutual labels:  rxswift, mvvm
Rxspritekit
👾 Reactive Extensions for SpriteKit
Stars: ✭ 131 (+523.81%)
Mutual labels:  rxswift, carthage
Swifthub
GitHub iOS client in RxSwift and MVVM-C clean architecture
Stars: ✭ 2,330 (+10995.24%)
Mutual labels:  rxswift, mvvm
RxStudy
RxSwift/RxCocoa框架,MVVM模式编写wanandroid客户端
Stars: ✭ 122 (+480.95%)
Mutual labels:  rxswift, rxcocoa
Rxmarvel
Playing around marvel public API with RxSwift, Argo, Alamofire
Stars: ✭ 86 (+309.52%)
Mutual labels:  rxswift, mvvm
Zhuishushenqi
追书神器Swift版客户端(非官方)。 不断更新中......
Stars: ✭ 196 (+833.33%)
Mutual labels:  rxswift, mvvm
Moya-Gloss
Gloss bindings for Moya
Stars: ✭ 37 (+76.19%)
Mutual labels:  rxswift, carthage
Rxgithub
An example of MVVM using RxSwift and Swinject (DI)
Stars: ✭ 109 (+419.05%)
Mutual labels:  rxswift, mvvm
Unio
🔄 KeyPath based Unidirectional Input / Output framework with RxSwift.
Stars: ✭ 139 (+561.9%)
Mutual labels:  rxswift, mvvm
Qiitawithfluxsample
A sample project uses Flux and MVVM features with RxSwift.
Stars: ✭ 94 (+347.62%)
Mutual labels:  rxswift, mvvm
awesome-demo-app
100% programmatically written in Swift. Clearly demonstrating the RxSwift, RxCocoa, RxRealm & SnapKit.
Stars: ✭ 16 (-23.81%)
Mutual labels:  rxswift, rxcocoa
RxCocoa-Texture
RxCocoa Extension Library for Texture.
Stars: ✭ 98 (+366.67%)
Mutual labels:  rxswift, rxcocoa
RxBatteryManager
A Reactive BatteryManager in Swift for iOS
Stars: ✭ 21 (+0%)
Mutual labels:  rxswift, rxcocoa
Ios
A sample project demonstrating MVVM, RxSwift, Coordinator Pattern, Dependency Injection
Stars: ✭ 49 (+133.33%)
Mutual labels:  rxswift, mvvm

Cathay

Hello world!

Cathay is an iOS assignment while applying to ShopBack at Singapore. We're applying some keys:

  1. MVVM architecture.
  2. Reactive programming by RxSwift & RxCocoa.
  3. Applying Coordinator pattern by RxFlow for App's navigations.
  4. Implementing UI by SwiftUI.
  5. Carthage dependency manager.

Feel free to contribute to make this open-source project become better for everyone who love reactive programming & MVVM architecture.

Checklist

  • Building the base project by MVVM architecture.
  • Adding the Carthage dependency manager & all needed dependencies.
  • Implementing all needed ViewModels.
  • Writing Unit Tests for ViewModels.
  • Implementing repository.
  • Adding the Mock datas & mock services.
  • Implementing the Coordinator by RxFlow.
  • Implementing Views by SwiftUI.
  • Implementing repository by real API services from TheMovieDB.
  • Supporting an entry point from deep link by RxFlow.
  • Supporting multi schemes for mock & real services.
  • Using Swinject/SwinjectStoryboard for depenencies injection.
  • Support showing code coverage by Danger.
  • Showing code coverage locally by Slather.

Installation

We're using the Carthage dependency manager instead of Cocoapods to speed up the build time.
We've written a script to let you get started easier. Please go to the root folder of project then run this script at terminal:

  $ sh ./setup.sh

Now, take a cup of coffee! Sometime the terminal may ask you something to finish the process, feel free to take a look.

Architectures

We separate main Application to 2 main components: Application & Domain

Application layer:

Where we're applying the MVVM architecture to isolate the main business logics from other resources.

Domain layer:

Where we're implementing the dependency for resource requests such as: repository, caching, etc. In this demonstration project, we only implement the Repository here.

Navigation:

Apple has introduced StoryBoard & Segue to navigate between screens. It's suitable for small App by MVC architecture. It's a strong recommendation to apply the Coordinator idea to MVVM architecture by reactive programming. We're using the RxFlow to manage the navigation.

SwiftUI:

We're applying the SwiftUI to implement the UI for all screens.

Code Coverage:

We're using the Slather to show the code coverage by a html page. To see it, just run this script at the terminal:

  $ sh ./viewCodeCoverageReport.sh

License

MIT License

Copyright (c) 2019 Steve

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE

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].