Code Monkey home page Code Monkey logo

flux_github_app's Introduction

アプリ画面

2022-04-25.14.11.00.mov

アーキテクチャ構成

  • Flux + MVVM + Routerを採用
    • 本アプリはUIKitで構築されているが、今後SwiftUIへ移行しやすいアーキテクチャを採用。
    • 単一方向のデータフローが実現できるため、処理の流れを追いやすく保守・改修をしやすくする。

Flux_Github_App_Architecture

使用ライブラリ

※ SPMを使用しています。

  • Kingfisher
  • PKHUD
  • RxSwift(RxCococa等も含む)
  • Swinject
  • SwinjectStoryboard

使用ツール

  • Mint(パッケージ管理)
  • XcodeGen
  • xcconfig-extractor
  • SwiftLint
  • SwiftFormat

セットアップ

$ make setup

make setUpの実行により以下の内容を実行する

  1. 各種ツールのインストール
  2. XcodeGenによるプロジェクトファイルの生成

各フォルダの説明

Common

共通で使用する内容を管理する

  • Extentions

機能拡張したコードを管理する

Request

APIリクエストに関する内容

  • Core

APIリクエスト時に共通で使用する処理を管理する

Repositories

実際に外部との通信などを行う処理を管理する

Flux

Fluxアーキテクチャを構成する各ファイルを管理する

  • Core

Action, ActionCreator, Dispatcher, State, Storeに関する共通部分を管理する

Router

画面遷移処理を管理する

ViewModels

ViewModelを管理する

Models

各モデルクラスの管理

Views

各画面を管理する

DI

swinjectによるDI処理に関する内容

flux_github_app's People

Contributors

takashico avatar takahashi-space avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.