Tips:
最近開始學(xué)習(xí) RxSwift,自學(xué)了幾天,感覺還沒有頭緒。所以就先把官方的例子翻譯一下,以便自己學(xué)習(xí)。奈何自己四級都沒過,所以將就著看吧。
重要:如何使用 Rx.playground:
- 打開 Rx.xcworkspace 文件。
- 選擇 RxSwift-macOS scheme 進(jìn)行編譯(Product → Build)。
- 在 Project navigator 區(qū)域左鍵單擊打開 Rx。
- 顯示 Debug 區(qū)域(View → Debug Area → Show Debug Area)。
內(nèi)容列表:
- Introduction - 簡介
- Creating and Subscribing to Observables - 創(chuàng)建和訂閱可被觀察的對象
- Working with Subjects - Subjects 的使用
- Combining Operators - 結(jié)合操作
- Transforming Operators - 轉(zhuǎn)換操作
- Filtering and Conditional Operators - 過濾和條件操作
- Mathematical and Aggregate Operators - 數(shù)學(xué)和?集合操作
- Connectable Operators - 可連接的操作
- Error Handling Operators - 錯(cuò)誤處理操作
- Debugging Operators - 調(diào)試操作