Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

readmeにミス、書き漏れがあったので修正しました #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,22 @@
# chat-iOS
## 開発規約
- ViewController, Presenter, ModelはViews/機能名/に格納する
### アーキテクチャ
- ViewController
- /Views/画面名(例: SignUp)/画面名ViewController.swift
- Viewの表示処理、Viewからの入力受け取り(textfield, button等)
- Presenter
- /Views/画面名/画面名Presenter.swift
- Viewからの入力の受け取り、Modelの出力の受け取りを良い感じに統合してView, Modelそれぞれに返す
- ModelはViews/画面名/画面名Model.swift
- firebaseアクセス等
- /Extensions
- 標準ライブラリ、使用ライブラリの拡張を記述
- /Libraries
- Extensionを使わないビジネスロジックを記述
- StoryboardはViews/Storyboards/に格納する
## setup
以下のコマンドを実行した後、デバッグ環境の場合chat-iOS/Resources/GoogleInfoにGoogle-Info-dev.plistを入れる
Google-Info.plistからGoogle-Info-dev.plistに改名する
GoogleService-Info.plistからGoogleService-Info-dev.plistに改名する
homebrewをインストールしていない場合
```
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
Expand Down