or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Do you want to remove this version name and description?
Syncing
xxxxxxxxxx
211101 회의록
오늘 해야할 일
Coordinator 스터디프로젝트 초기설정(Pair Programming)Issue 템플릿
작업내용
특이사항
PR 템플릿
포함 이슈 목록
특이사항
셀프체크리스트
이슈 라벨 관리
작업 내용
Architecture
Coordinator에 대한 정리..
ViewController
는 말 그대로 View만을 관리해야한다. 로직은ViewModel
이 담당하게되며ViewController
는ViewModel
에 이벤트를 전달하는 역할만 해야한다. 따라서ViewCoordinatorDelegate
는ViewModel
이 들고있어야한다.ViewModel
에서 화면 전환이 이뤄져야 하는 경우엔ViewCoordinatorDelegate
를 이용해준다.Coordinator
는 childCoordinator
를 가져야한다. (ViewController는 안들고 있어도 된다!)Coordinator
는UIKit
을 import 하고 있는ViewModel
보다 상위에 해당하는 객체이기때문에,Protocol
을 이용해 의존성을 역전시켜야 한다.ViewController
가 dismiss될 때에Coordinator
도 제거해야하기 때문에,Coordinator
는 부모Coordinator
의 레퍼런스를 가지며, 부모로부터 자신을 제거하는 함수를 구현해야한다.버그 이슈 템플릿
요약
재현 방법
예상 결과
실제 결과