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

AppRootControllerのご提案(簡略説明版)

yimajo
February 15, 2017

 AppRootControllerのご提案(簡略説明版)

#potatotips 37 の資料です

AppRootControllerでスプラッシュアニメーションをする時の方法についても発表しました
https://speakerdeck.com/yimajo/approotcontroller-woshi-tutesupuratusiyuanimesiyonwoshi-zhuang-suru-2017-dong

yimajo

February 15, 2017
Tweet

More Decks by yimajo

Other Decks in Technology

Transcript

  1. "QQ3PPU$POUSPMMFSͷ͝ఏҊ
    ʢ؆ུઆ໌൛ʣ
    !ZJNBKP
    QPUBUPUJQT

    View full-size slide

  2. ىಈ࣌ͷSPPU7JFX$POUSPMMFSʹը໘දࣔͷ
    7JFX$POUSPMMFSΛࢦఆͤͣɺίϯςφͱͯ͠ͷ
    $POUSPMMFSΛࢦఆ͠ɺ
    ͍ͦͭͰىಈ࣌ͷ7$ͷදࣔΛ੍ޚ͢Ε͹ָͰ͢Α
    ͱ͍͏࿩Ͱ͢

    View full-size slide

  3. w "QQ3PPU$POUSPMMFS͸ɺىಈ࣌ʹͨ·ʹද
    ͍ࣔͨ͠Ϟʔμϧදࣔ΍ϩάΠϯը໘ͷදࣔɺ
    ௨ৗදࣔ͢Δը໘ͷग़͠෼͚Λߦ͏
    "QQ%FMFHBUF
    6*8JOEPX
    "QQ3PPU$POUSPMMFS
    7JFX$POUSPMMFS
    7JFX$POUSPMMFS
    7JFX$POUSPMMFS
    "QQ3PPU$POUSPMMFSͱ͍͏ίϯςφΛ࢖ͬͯίϯ
    ςΩετͷҧ͏7$ͷදࣔΛग़͠෼͚Δ
    w 6*8JOEPX௚ԼͷSPPU7JFX$POUSPMMFS
    ͸௚઀ද͍ࣔͨ͠ը໘ͷ7JFX$POUSPMMFS
    Λ࢖Θͣʹίϯςφʹ
    w ͦͷίϯςφͷ໊͸"QQ3PPU$POUSPMMFS

    View full-size slide

  4. "QQ%FMFHBUF
    6*8JOEPX
    "QQ3PPU$POUSPMMFS
    7JFX$POUSPMMFS ىಈޙʹ௨ৗද͍ࣔͨ͠7$
    7JFX$POUSPMMFS Ϣʔβ΁ͷ৘ใදࣔ༻ʹද͍ࣔͨ͠Ϟʔμϧ
    7JFX$POUSPMMFS ϩάΠϯͱ͔ͷ7JFX$POUSPMMFS
    ྫ͑͹

    View full-size slide

  5. "QQ%FMFHBUF
    6*8JOEPX
    7JFX$POUSPMMFS ىಈޙʹ௨ৗද͍ࣔͨ͠7$
    7JFX$POUSPMMFS Ϣʔβ΁ͷ৘ใදࣔ༻ʹද͍ࣔͨ͠Ϟʔμϧ
    7JFX$POUSPMMFS ϩάΠϯͱ͔ͷ7JFX$POUSPMMFS
    Կ΋ߟ͑ͣʹ΍Δͱ͜Μͳײ͡ʹͳΔ

    View full-size slide

  6. "QQ%FMFHBUF
    6*8JOEPX
    7JFX$POUSPMMFS
    7JFX$POUSPMMFS
    7JFX$POUSPMMFS
    ൺֱ
    "QQ%FMFHBUF
    6*8JOEPX
    "QQ3PPU$POUSPMMFS
    7JFX$POUSPMMFS
    7JFX$POUSPMMFS
    7JFX$POUSPMMFS

    View full-size slide

  7. /BWJHBUJPO$POUSPMMFS൛
    "QQ%FMFHBUF
    6*8JOEPX
    "QQ3PPU$POUSPMMFS
    /BWJHBUJPO$POUSPMMFS
    7JFX$POUSPMMFS
    7JFX$POUSPMMFS
    7JFX$POUSPMMFS 7JFX$POUSPMMFS
    /BWJHBUJPO$POUSPMMFS
    7JFX$POUSPMMFS

    View full-size slide

  8. ϝϦοτ
    w ίϯςΩετʹΑͬͯ7$ग़͠෼͚͢Δ͜ͱʹू
    தͰ͖Δ
    w ΋͠ଞͷ7$΍"QQ%FMFHBUF͕ίϯςΩετʹ
    Αͬͯଞͷ7$ग़͠෼͚ͯͨ͠ΒංେԽͯ͠΍
    ͹͍

    View full-size slide

  9. Կ͕Կ͔ͩΘ͔ΒΜ͔΋͠
    Εͳ͍ͷͰݟͨ໨͔Βઆ໌

    View full-size slide

  10. ΞϓϦىಈ࣌ʹϞʔμϧͰը໘දࣔ͢Δͱ͖ͷྫ
    w ॳճىಈ࣌ͷΈɺ௨ৗදࣔ͢
    Δ7$ͷ্ʹϢʔβ΁ͷ৘ใද
    ࣔ7$Λදࣔ͢Δ
    w ดͨ͡Β௨ৗදࣔ͢Δ7$ΛԼ
    ʹදࣔ͢Δ
    ྫϦΫφϏωΫετ

    View full-size slide

  11. "QQ3PPU$POUSPMMFS
    Ͱ΍ΔͳΒ

    View full-size slide

  12. "QQ3PPU$POUSPMMFSʹ͍ͭ΋ग़͢ը໘ͷ7$
    ΛBEE$IJME7JFX$POUSPMMFSͱBEE4VC7JFX
    ͭͭ͠ɺ
    "QQ3PPU$POUSPMMFSͰ৘ใදࣔ༻7$Λ
    QSFTFOU͢Δ
    ৘ใදࣔ༻7$ด͡Δͱ͍ͭ΋ग़͢7$
    ͕දࣔ͞ΕΔ

    View full-size slide

  13. ٙ໰
    ʮ௨ৗදࣔ͢Δ7$ͷWJFX8JMM"QQFBS
    ͰϞʔμϧදࣔͷ7$Λ্ཱͪ͛Ε͹
    ࡁΉ࿩Ͱ͸ʁʯ
    ˞஫ҙॻ͖7JFX%JE-PBEΛ࢖͏ͱͦ΋ͦ΋ܯࠂ͕ग़Δ
    l8BSOJOH"UUFNQUUPQSFTFOUϞʔμϧ7$PO௨ৗදࣔ͠Α͏ͱ͢
    Δ7JFX$POUSPMMFSXIPTFWJFXJTOPUJOUIFXJOEPXIJFSBSDIZz

    View full-size slide

  14. ճ౴
    ʮ௨ৗදࣔ͢Δը໘ͷWJFX8JMM"QQFBS
    Ͱ৚݅ʹΑͬͯͦͷ7$ͱ͸ؔ܎ͳ͍΋
    ͷΛ੍ޚ͢Δͷ͸ॲཧͷݟ௨͕͠ѱ͘
    ͳΔʯ

    View full-size slide

  15. ճ౴
    ʮͦͷ݁ՌɺιʔείʔυͷՄಡੑ
    ͕མͪͯػೳ௥Ճमਖ਼Λ͢Δࡍʹ
    ࣮૷͢ΔεϐʔυΛམͱͯ͠͠·͏ʯ

    View full-size slide

  16. "QQ3PPU$POUSPMMFS͸Ξϓ
    Ϧىಈ࣌ͷը໘੾Γସ͑Λૉ
    ௚ʹߦ͏ͨΊͷํ๏

    View full-size slide

  17. "QQ3PPU$POUSPMMFS͸Կʹ͍͔ۙ
    w 5BC#BS$POUSPMMFSΛ࢖͍ͬͯΔͷʹ͍ۙ

    View full-size slide

  18. "QQ3PPU$POUSPMMFS͸ԿͰͳ͍͔
    w ը໘੍ޚΛ·ͱΊΔ΋ͷͰ͸ͳ͍
    w ભҠϚωʔδϟʔΫϥεΛ࡞Γ͍ͨΘ͚͡Όͳ
    ͍
    w ʢͦΜͳ΋Μ࡞ͬͯ7$ؒͷ݁߹౓͕Լ͕ͬͯ
    ͍Δͱࢥ͍͖΍ؒ઀తʹ݁߹͍ͯ͠Δ͚ͩʣ

    View full-size slide

  19. "QQ3PPU$POUSPMMFSͷࡉ͔͍͜ͱ

    View full-size slide

  20. ΞϓϦ಺Ͱ"QQ%FMFHBUFXJOEPXͷ
    SPPU7JFX$POUSPMMFS͸มߋͤͣ
    "QQ3PPU$POUSPMMFSͱͯ͠ݻఆ͢Δͱ
    ྑ͍෭࡞༻͕͋Δ

    View full-size slide

  21. w 63-εΩʔϜ΍164)௨஌͔ΒΞϓϦىಈதʹݺͼ
    ग़͞ΕΔ৔߹ɺݱࡏԿΛද͍ࣔͯ͠Δ͔͕ඞཁʹͳ
    Δɺͦͷͱ͖"QQ%FMFHBUFͷXJOEPX͔Βը໘Λ୳
    ͍ͯ͘͠ͷ͸ग़དྷΔ͚ͲϝϯυΠ
    w SPPU7JFX$POUSPMMFSͰը໘੾Γସ͑͸ෳࡶ͕͞૿͢
    w SPPU7JFX$POUSPMMFSΛϞʔμϧදࣔதʹผͷ7$ʹ
    ࠩ͠ସ͑ΔͱࢀরΧ΢ϯτ͕Լ͕ΒͣϝϞϦϦʔΫ
    ΋ى͜Δ

    View full-size slide

  22. ϝϞϦϦʔΫͷ݅ௐ΂ͨΒ
    ͢Ͱʹݴٴ͞Εͯͨ

    View full-size slide

  23. ʜ΋͔ͯ͠͠Α͘஌ΒΕͨ
    5JQT͔ͩͬͨ΋͠Εͳ͍

    View full-size slide

  24. w "QQ3PPU$POUSPMMFSͷΑ͏ʹίϯςφΛ࢖ͬͯ΋ݟͨ
    ໨͸·ͬͨ͘มΘΒͳ͍ͷͰɺҠߦ͢Δ͜ͱ͸؆୯
    w ͨͩɺίϯςφͷ$POUSPMMFSΛ࡞Δͱ͍͏͜ͱ͸΄Μͷ
    গ͠޻෉͕͍ΔͷͰ6*,JUʹ׳Εͯͳ͍ͱ࠷ॳͷ͏ͪ͸
    ೉͍͠ͱ͸ࢥ͏
    w ͞Βʹࡉ͔͍5JQT͸ɺ͕࣌ؒ͋Δͱ͖ʹ͠·͢
    ·ͱΊͱऴΘΓʹ

    View full-size slide