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
- swift network module
- swift 엑셀 가져오기
- swift urlsession module
- rag 기반 llm 챗봇
- swift urlsession network module
- rag 기반 llm
- focus timer 어플
- swift urlsession 공통화
- readysay
- swift network 공통화
- llm csv
- 엔디소프트 레이세이
- swift urlsession refactoring
- 공부 타이머 어플
- swift 엑셀 읽기
- swift excel read
- llm pdf rag
- swift urlcomponent encode
- 레디세이
- swift queryitem encode
- swift 자간
- filemanager excel read
- swift filemanager get excel
- swift get excel
- swift filemanager excel
- swift network refactoring
- swift 네트워크 모듈화
- 레디세이 어플
- chatgpt rag llm
- rag llm pdf
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 29 | 30 |
글 보관함