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

サーバーの状態に応じて画面遷移させるための設計

99f4c8adce50e6d0d675323c9466e125?s=47 furuyan
September 01, 2018

 サーバーの状態に応じて画面遷移させるための設計

iOSDC Japan 2018 でのルーキーズLT登壇資料です。
https://fortee.jp/iosdc-japan-2018/proposal/3648a8bc-be38-42ae-aeb2-3c3eafc2617a

99f4c8adce50e6d0d675323c9466e125?s=128

furuyan

September 01, 2018
Tweet

Transcript

  1. Copyright (C) 2018 DeNA Co.,Ltd. All Rights Reserved. Copyright (C)

    2018 DeNA Co.,Ltd. All Rights Reserved. αʔόʔͷঢ়ଶʹԠͯ͡ը ໘ભҠͤ͞ΔͨΊͷઃܭ J04%$+BQBO  4BU  ݹ԰޿ೋ ΦʔτϞʔςΟϒࣄۀຊ෦ جװγεςϜ։ൃ෦
 %F/"$P -UE 1
  2. Copyright (C) 2018 DeNA Co.,Ltd. All Rights Reserved. ࣗݾ঺հ w

    ݹ԰޿ೋ w %F/"!λΫϕϧ w J04&OHJOFFS w (JU)VCGVSVZBO w 2JJUBGVSVZBO 2
  3. Copyright (C) 2018 DeNA Co.,Ltd. All Rights Reserved. 3 ͜͜Ͱ͍͖ͳΓ࣭໰Ͱ͢

  4. Copyright (C) 2018 DeNA Co.,Ltd. All Rights Reserved. ͜ͷը໘͸ભҠઌ͕Կݸ͋ΔͰ͠ΐ͏͔ʁ 4

    ී௨ʹߟ͑ͨΒࠨ্ͷϘλϯͱ
 ԼͷϘλϯͰͭʁ
  5. Copyright (C) 2018 DeNA Co.,Ltd. All Rights Reserved. 5 ਖ਼ղ͸ʜ

  6. Copyright (C) 2018 DeNA Co.,Ltd. All Rights Reserved. 6 ݸʂ

  7. Copyright (C) 2018 DeNA Co.,Ltd. All Rights Reserved. 7

  8. Copyright (C) 2018 DeNA Co.,Ltd. All Rights Reserved. ͳͥ͜ΜͳʹભҠઌ͕͋Δͷ͔ʁ w

    αʔόʔ͸Ϣʔβʔ͝ͱʹ഑ंͷঢ়ଶΛ͍࣋ͬͯΔ w ྫλΫγʔ଴ͪɺ৐ंதɺࢧ෷͍தFUD w ΞϓϦ͸Ͳͷը໘ʹ͍ͯ΋ҰఆִؒͰαʔόʔͷঢ়ଶΛऔಘ͍ͯ͠Δ w औಘͨ͠ঢ়ଶʹԠͯ͡ը໘ભҠ͢Δඞཁ͕͋Δ
 ৗʹҰͭͣͭਐΉͱ͸ݶΒͳ͍  ˠͲͷը໘ʹ͍ͯ΋ଟ਺ͷભҠઌ͕͋Δ 8
  9. Copyright (C) 2018 DeNA Co.,Ltd. All Rights Reserved. 9 ͔͜͜Β΍ͬͱຊ୊

  10. Copyright (C) 2018 DeNA Co.,Ltd. All Rights Reserved. ը໘ભҠपΓΛͲͷΑ͏ͳઃܭʹ͢Δ͔ Ҋ

     w ֤7$ʹऔಘͨ͠αʔόʔͷঢ়ଶΛ൑ผͯ͠ભҠ͢ΔϩδοΫΛೖΕΔ 10 અࢠ ˠ'BU7JFX$POUSPMMFSʹͳͬͯ͠·͏
  11. Copyright (C) 2018 DeNA Co.,Ltd. All Rights Reserved. ը໘ભҠपΓΛͲͷΑ͏ͳઃܭʹ͢Δ͔ Ҋ

     w αʔόʔͷঢ়ଶΛ൑ผͯ͠ભҠ͢ΔϩδοΫΛ$PPSEJOBUPSʹҠ͢
 ˠ֤7$ʹ৑௕ͳϩδοΫΛॻ͔ͳͯ͘Α͘ͳΔ
 ˠಛఆͷঢ়گԼͰ͸ը໘ભҠͤͣॲཧ͚͍ͩͨ͠ͷΑ͏ͳ࢓༷͕͋Δͱ
 ɹ$PPSEJOBUPS͕ͲΜͲΜෳࡶʹͳͬͯ͠·͏ ˞$PPSEJOBUPSͱ͸ɿ֤ը໘ͷґଘੑͷղܾ΍ը໘ભҠʹؔΘΔϩδο ΫΛҰవΊʹͨ͠΋ͷ 11
  12. Copyright (C) 2018 DeNA Co.,Ltd. All Rights Reserved. 12 Ͱ͸Ͳ͏͔ͨ͠

  13. Copyright (C) 2018 DeNA Co.,Ltd. All Rights Reserved. 13 ը໘ભҠʹؔΘΔϩδοΫΛ.PEFM૚ʹ

    $PPSEJOBUPS͸࢖͍ͭͭ
  14. Copyright (C) 2018 DeNA Co.,Ltd. All Rights Reserved. ͲͷΑ͏ͳઃܭʹ͔ͨ͠ w

    ΞϓϦͷը໘ͱରʹඥ෇͘ঢ়ଶΛఆٛ w ΞϓϦ಺ͷঢ়ଶΛ4UBUFύλʔϯͰ؅ཧ
 Ϣʔβʔૢ࡞αʔόʔͷঢ়ଶʹΑΔঢ়ଶભҠ͸֤4UBUF͕ߦ͏  w $PPSEJOBUPS͸.PEFM૚Ͱ؅ཧ͞Ε͍ͯΔঢ়ଶΛ؂ࢹͯͦ͠Εʹඥ෇͘ ը໘Λදࣔ͢Δ͚ͩ 14 $PPSEJOBUPS 4UBUF$POUFYU ը໘"@4UBUF ը໘#@4UBUF ը໘$@4UBUF ը໘%@4UBUF .PEFM૚
  15. Copyright (C) 2018 DeNA Co.,Ltd. All Rights Reserved. ͲͷΑ͏ͳઃܭʹ͔ͨ͠ w

    ΞϓϦͷը໘ͱରʹඥ෇͘ঢ়ଶΛఆٛ w ΞϓϦ಺ͷঢ়ଶΛ4UBUFύλʔϯͰ؅ཧ
 Ϣʔβʔૢ࡞αʔόʔͷঢ়ଶʹΑΔঢ়ଶભҠ͸֤4UBUF͕ߦ͏  w $PPSEJOBUPS͸.PEFM૚Ͱ؅ཧ͞Ε͍ͯΔঢ়ଶΛ؂ࢹͯͦ͠Εʹඥ෇͘ ը໘Λදࣔ͢Δ͚ͩ 15 $PPSEJOBUPS 4UBUF$POUFYU ը໘"@4UBUF ը໘#@4UBUF ը໘$@4UBUF ը໘%@4UBUF .PEFM૚
  16. Copyright (C) 2018 DeNA Co.,Ltd. All Rights Reserved. ͲͷΑ͏ͳઃܭʹ͔ͨ͠ w

    ΞϓϦͷը໘ͱରʹඥ෇͘ঢ়ଶΛఆٛ w ΞϓϦ಺ͷঢ়ଶΛ4UBUFύλʔϯͰ؅ཧ
 Ϣʔβʔૢ࡞αʔόʔͷঢ়ଶʹΑΔঢ়ଶભҠ͸֤4UBUF͕ߦ͏  w $PPSEJOBUPS͸.PEFM૚Ͱ؅ཧ͞Ε͍ͯΔঢ়ଶΛ؂ࢹͯͦ͠Εʹඥ෇͘ ը໘Λදࣔ͢Δ͚ͩ 16 $PPSEJOBUPS 4UBUF$POUFYU ը໘"@4UBUF ը໘#@4UBUF ը໘$@4UBUF ը໘%@4UBUF .PEFM૚
  17. Copyright (C) 2018 DeNA Co.,Ltd. All Rights Reserved. ϝϦοτ w

    $PPSEJOBUPS͸.PEFM૚ΛݟΔ͚ͩͰ͍͍ͷͰॲཧ͕͖ͬ͢Γ w 7$ʹ$MPTVSF΍%FMFHBUFΛ౉͞ͳ͍͍ͯͨ͘Ί w ը໘ϑϩʔ͕มΘͬͯ΋.PEFM૚ͷमਖ਼ͰࡁΉ w ը໘ભҠʹؔΘΔϩδοΫΛ.PEFM૚ʹ࣋ͨͤͨ͜ͱͰςετՄೳʹ 17
  18. Copyright (C) 2018 DeNA Co.,Ltd. All Rights Reserved. σϝϦοτ w

    ΞϓϦͷը໘਺ʹൺྫͯ͠ΞϓϦ಺ͷঢ়ଶΛද͢Ϋϥε͕૿͑Δ w 7$7.Λ࡞Δ࣌ʹҰॹʹ࡞Ε͹ͦ͜·ͰͰ΋ͳͦ͞͏ 18
  19. Copyright (C) 2018 DeNA Co.,Ltd. All Rights Reserved. 19 ਏ͔ͬͨ఺ʹ͍ͭͯ

  20. Copyright (C) 2018 DeNA Co.,Ltd. All Rights Reserved. ਏ͔ͬͨ఺ w6*"MFSU$POUSPMMFSͷ؅ཧ͕େม

    ը໘ʹඥ͔ͮͳ͍"MFSUΛදࣔͤ͞Δ͚ͩͷঢ়ଶ͕ෳ਺͋ΔͨΊ
 ࿈ଓͯ͠ݺ͹ΕΔ૝ఆΛ͠ͳ͍ͱ͍͚ͳ͍
 ˠঢ়ଶ͕มΘΔͨͼʹ༏ઌ౓͕௿͍"MFSU͸ࣗಈతʹফ͢ wσόοά͕େม αʔόʔىҼͰը໘͕੾ΓସΘΔͨΊɺσβΠϯ֬ೝ͍ͨ࣌͠ͳͲʹ
 ର৅ը໘΁Ҡಈ͢Δͷ͕େม
 ˠσόοάϞʔυʹ޷͖ͳঢ়ଶʹભҠͰ͖ΔΑ͏ͳػೳΛ௥Ճ 20
  21. Copyright (C) 2018 DeNA Co.,Ltd. All Rights Reserved. 21 ͦͯ͠࠷ޙʹ

  22. Copyright (C) 2018 DeNA Co.,Ltd. All Rights Reserved. 22 ෼Ͱઃܭͷ࿩Λ͢Δͷ͸ແཧ͕͋ͬͨ

  23. Copyright (C) 2018 DeNA Co.,Ltd. All Rights Reserved. 23 ͝੩ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠