Upgrade to Pro — share decks privately, control downloads, hide ads and more …

RxSwift in Practice

Motoki Narita
November 20, 2016

RxSwift in Practice

Motoki Narita

November 20, 2016
Tweet

More Decks by Motoki Narita

Other Decks in Technology

Transcript

  1. ௨ৗͷ࣮૷  Ϙλϯ͕ԡ͞ΕͨࡍʹҎԼͷ ॲཧΛߦ͏ϝιου࡞Δ  ը૾ΛΩϟϓνϟͯ͠อଘ͢Δ  ͕ऴྃͨ͠ΒϩʔσΟϯάඇ දࣔ 

    ͱಉ࣌ʹϑΟϧλʔΛมߋ  Ϙλϯλοϓ  Ϙλϯλοϓޙɺ
 ը૾ΛΩϟϓνϟɺอଘ͢Δ  ը૾Λอଘ͞ΕΔ·Ͱ
 ϩʔσΟϯάදࣔ  ը૾อଘޙʹ
 ϑΟϧλʔΛมߋ
  2. ௨ৗͷ࣮૷  Ϙλϯλοϓ  Ϙλϯλοϓޙɺ
 ը૾ΛΩϟϓνϟɺอଘ͢Δ  ը૾Λอଘ͞ΕΔ·Ͱ
 ϩʔσΟϯάදࣔ 

    ը૾อଘޙʹ
 ϑΟϧλʔΛมߋ  Ϙλϯ͕ԡ͞ΕͨࡍʹҎԼͷ ॲཧΛߦ͏ϝιου࡞Δ  ը૾ΛΩϟϓνϟͯ͠อଘ͢Δ  ͕ऴྃͨ͠ΒϩʔσΟϯάඇ දࣔ  ͱಉ࣌ʹϑΟϧλʔΛมߋ
  3. ѱ͍ͱ͜Ζ w ֶशίετ͕ߴ͍ w ·͖ͩΕ͍ͳ઒ετϦʔϜ͕࡞Εͳ͍ w 3Y.BSCMFTΛݟͨΓɺطଘͷιʔεΛಡΜͩΓͯ͠ଟ͘ͷ͜ͱΛֶ ΜͰ͍Δ࠷த w ϝϯόʔͷೖΕସΘΓ͕ଟ͍ͱݫͦ͠͏

    w ϑϨʔϜϫʔΫʹେ͖͘ґଘ͢Δ͜ͱʹͳΔ w Ծʹ3Y͕ϝϯςφϯε͞Εͳ͘ͳͬͨ৔߹Ͳ͏ͳΔʁ w ʢͨͩ͠3Yࣗମʹେ͖ͳܽ఺͸ͳ͍ͱࢥ͏ʣ
  4. ·ͱΊ w 3Y4XJGUʹΑͬͯετϦʔϜΛͲ͏ѻ͏͔ͱ͍͏؍఺͔Βઃܭɾ࣮૷ Λߦ͏Α͏ʹͳͬͨ w ঢ়ଶͷมԽʹ೰·͞Ε͍ͯΔ৔߹ɺ༗༻ͳπʔϧʹͳΔ͔΋͠Ε· ͤΜ w ۜͷ஄ؙͰ͸ͳ͍ w

    νʔϜόϥϯεɺϝϯόʔͷೖΕସΘΓͷස౓ͳͲͳͲɺ
 ֶशίετͷ؍఺͔Βߟྀ͢΂͖͜ͱ͸ଟ͍ w طଘͷίʔυ͕͋Δ৔߹͸ɺࠓ೔ݟ͖ͯͨΑ͏ʹɺطଘͷ࣮૷Λε τϦʔϜΛ؍఺ʹઃܭɾ࣮૷ͯ͠Έͯ޾ͤʹͳΕΔ͔Λ͔֬ΊͯΈ Δͱྑ͍͔΋