NotificationCenter
VC간 데이터를 주고 받거나 상호작용을 하기 위해서는 next vc에 데이터를 직접적으로 전달하거나, delegate 방식으로 전달(https://ggasoon2.tistory.com/6) 또는 rxSwift subscribe binding(https://ggasoon2.tistory.com/25)등을 이용하여 데이터나 trigger를 전달 할 수 있습니다. 그런데 VC가 여러개 중첩되어 있을 경우 delagte나 subcrbie vm을 전달하기가 쉽지가 않을 것 같아요. 그럴 경우 Notifcation을 이용하면 간편하게 거리가 먼 VC에 데이터를 전달할 수 있습니다. 1. Notification observable emit (발신) NotificationCenter.default.post(name: ..
iOS & swift
2023. 7. 26. 15:26
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- filemanager excel read
- 레디세이 어플
- swift urlsession refactoring
- swift excel read
- swift 엑셀 가져오기
- swift queryitem encode
- swift filemanager excel
- 엔디소프트 레이세이
- 레디세이
- rag 기반 llm
- chatgpt rag llm
- llm csv
- swift urlsession 공통화
- focus timer 어플
- swift network 공통화
- swift get excel
- swift 네트워크 모듈화
- rag 기반 llm 챗봇
- swift network refactoring
- swift 자간
- llm pdf rag
- swift network module
- 공부 타이머 어플
- swift 엑셀 읽기
- swift urlsession module
- swift urlsession network module
- swift filemanager get excel
- rag llm pdf
- swift urlcomponent encode
- readysay
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
글 보관함