Publishers.MapKeyPath
์ ๋ค๋ฆญ ๊ตฌ์กฐ์ฒด | ํค ๊ฒฝ๋ก์ ๊ฐ์ ๋ฐํํ๋ Publisher
์ด๋์ ๋ผ์ด์ ๋ฅผ ์ ๊ณตํ์ง ์๋๋ค.
ํ์ ์ ํค ๊ฒฝ๋ก๋ฅผ ํตํด ์ ๊ทผํ ๊ฐ์ผ๋ก ๋งคํํ๊ธฐ ์ํด ์ฌ์ฉํ ์ ์๋ค.
map
์คํผ๋ ์ดํฐ์ ๊ด๋ จ์ด ์๋ค.
SomeStruct
๊ตฌ์กฐ์ฒด์ ์ธ์คํด์ค๋ฅผ ๋ฐํํ๋ ์์ Publisher๋ก๋ถํฐ property
ํค ๊ฒฝ๋ก๋ฅผ ํตํด ํด๋น ๊ฐ์ ์ ๊ทผํ๊ณ ๊ทธ ๊ฐ์ผ๋ก ๋งคํํ๋ค.
RxSwift
ํด๋น ๋์์ ๊ตฌํํ๊ธฐ ์ํ ์คํผ๋ ์ดํฐ๋ฅผ ์ ๊ณตํ์ง ์๋๋ค.
ReactiveSwift
ํด๋น ๋์์ ๊ตฌํํ๊ธฐ ์ํ ์คํผ๋ ์ดํฐ๋ฅผ ์ ๊ณตํ์ง ์๋๋ค.
Last updated
Was this helpful?