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

Swiftでニコ動風実況ツール作った

Yuya Hirayama
May 25, 2016
1.8k

 Swiftでニコ動風実況ツール作った

Yuya Hirayama

May 25, 2016
Tweet

Transcript

  1. 4XJGUͰ࣮گπʔϧ
    4QFFF&OHJOFFS.FFUJOH
    !IJSBHSBN

    View full-size slide

  2. Կ
    w 049Ͱಈ͘ΞϓϦέʔγϣϯΛ࡞ͬͯΈ͔ͨͬͨ
    w 4MBDLͷಛఆͷνϟϯωϧ͔ΒϦΞϧλΠϜʹϝο
    ηʔδΛͱͬͯ͘Δ΍ͭΛ࡞ͬͨ
    w ೚ҙͷจࣈྻΛ.BDͷσΟεϓϨΠ্ʹχίಈͬ
    Ά͘ྲྀ͢΍ͭΛ࡞ͬͨ

    View full-size slide

  3. ͠ͳ͔ͬͨ͜ͱ
    w (6*͸࡞Βͳ͔ͬͨ ૢ࡞͸ίϚϯυϥΠϯ͔Β

    View full-size slide

  4. 4MBDLͷ"1*ʹͭͳ͙ͱ͜Ζ

    View full-size slide

  5. 3FBM5JNF.FTTBHJOH"1* 35.

    w ·ͣSUNTUBSUͱ͍͏ΤϯυϙΠϯτΛୟ͘
    w νϟϯωϧ΍Ϣʔβʔͷ৘ใͱҰॹʹXTTͰ࢝·Δ
    8FC4PDLFUͷ63-͕ฦͬͯ͘Δ
    w ͜ͷ63-͸SUNTUBSUΛୟ͍͔ͯΒඵؒΞΫη
    ε͕ແ͔ͬͨΒഁغ͞ΕΔ ඵҎ಺ʹ઀ଓ͠
    ͳ͍ͱ͍͚ͳ͍

    View full-size slide

  6. ௨৴
    w SUNTUBSU )551 (&5

    w /463-4FTTJPO
    w ௨৴ϥΠϒϥϦ͸͍ͬͺ͍͋Δ͚Ͳɺࠓճ͸ษڧͷͨΊ
    ʹੜͷ/463-4FTTJPOͰɻ
    w 8FC4PDLFU
    w 4UBSTDSFBN (JU)VCEBMUPOJBNTUBSTDSFBN

    w ࣗલͰ΍Δͷ͸ͪΐͬͱେมͦ͏ $'/FUXPSLJOHͱ͔

    View full-size slide

  7. SUNTUBSUˠ8FC4PDLFU઀ଓ

    View full-size slide

  8. ϝοηʔδड৴ˠྲྀ͢ଆʹύε

    View full-size slide

  9. ը໘ʹྲྀ͢ͱ͜Ζ

    View full-size slide

  10. /48JOEPX
    w 049ΞϓϦͷ΢Πϯυ΢ͷΫϥεɻ
    w DPOUFOU7JFXͱDPOUFOU7JFX$POUSPMMFSͱ͍͏ϓϩύςΟ
    ͕͋Δ
    w 8JOEPXʹ7JFXΛ΃ͨͬͱషΔ TFUDPOUFOU7JFX
    ͔ɺ
    7JFX$POUSPMMFSΛڬΉ TFUDPOUFOU7JFX$POUSPMMFS

    ͔ɻ
    w ࠓճ͸7JFX$POUSPMMFS࢖Θͣʹ௚઀ίϝϯτΛྲྀͨ͢
    Ίͷ7JFXΛషΓ෇͚Δ΍ΓํͰ΍ͬͨɻ ཧ༝͸ޙड़

    View full-size slide

  11. w TUZMF.BTL8JOEPXͷελΠϧ Ϙλϯ༗ແλΠτϧ༗ແϘʔμʔϨεͳͲ

    w CBDLHSPVOE$PMPSഎܠ৭
    w JHOPSFT.PVTF&WFOUTϚ΢εͷૢ࡞Λແࢹ Լͷ΢Πϯυ΢ʹಁա͢Δ

    w MFWFM΢Πϯυ΢ͷ֊૚ɻଞͷΞϓϦΑΓ΋खલʹ͍ͯཉ͍͠ͷͰεΫϦʔϯ
    ηʔόʔͷ֊૚Λબ୒ɻ

    View full-size slide

  12. ίϝϯτྲྀ͢7JFXͱςΩετ

    View full-size slide

  13. .FTTBHF'MPXJOH7JFXͱ
    .FTTBHF-BCFM
    w .FTTBHF'MPXJOH7JFX /47JFXͷαϒΫϥε

    w จࣈྻΛड͚औͬͯը໘্ʹྲྀ͢
    w ίϝϯτΛྲྀ͢ҐஔΛܾΊΔ
    w ΞχϝʔγϣϯΛ࡞Δ
    w .FTTBHF-BCFM /45FYU'JFMEͷαϒΫϥε

    w /45FYU'JFMEΛϓϩύςΟͰฤूબ୒ෆՄʹ͢Δ
    ͜ͱͰٖࣅతʹ6*-BCFMͷΑ͏ͳ࢖͍ํ͕Ͱ͖Δ
    w Ө͚ͭͯΔ χίಈ࢓༷

    View full-size slide

  14. จࣈྻΛड͚औͬͯɺྲྀ͢

    View full-size slide

  15. ίϝϯτΛྲྀ͢ҐஔΛܾΊΔ

    View full-size slide

  16. ΞχϝʔγϣϯΛ࡞Δ
    w $PSF"OJNBUJPO
    w ௕͍ίϝϯτ͸଎͘ɺ୹͍ίϝϯτ͸Ώͬ͘ΓྲྀΕ
    Δ χίಈ࢓༷

    View full-size slide

  17. w qPX#FHJO1PJOUΞχϝʔγϣϯ։࢝࣌ͷςΩετ
    ͷҐஔΛฦ͢
    w qPX&OE1PJOUͲ͜·ͰҠಈ͢Δ͔ɻςΩετͷ௕
    ͞ʹΑͬͯมΘΔɻςΩετͷ຤୺͕ը໘͔Β֎Ε
    Δ·ͰҠಈ͢Δɻ

    View full-size slide

  18. σϞˠUJNFTIJSB

    View full-size slide

  19. ࡞ͬͯΈͯͭΒ͍ͱ͜Ζ
    w 049ΞϓϦέʔγϣϯʹؔ͢Δ৘ใ͕શવͳ͍ ೔
    ຊޠ͸·͡ͳ͍

    w $-*ΞϓϦʹ͸3FTPVSDF'SBNFXPSLΛόϯυϧग़
    དྷͳ͍ͷͰɺYJC΋EZOBNJDGSBNFXPSL΋࢖͑ͳ͍
    $PDPB1PET$BSUIBHF࢖͑ͳ͍

    w .BLFpMFࣗ෼Ͱॻ͚͹Ͱ͖ΔͬΆ͍͚ͲͭΒͦ͏

    IUUQRJJUBDPNHJOJUFNTFCBEED

    View full-size slide

  20. ࡞ͬͯΈͯͭΒ͍ͱ͜Ζ
    w /48JOEPXͷDPOUFOU7JFX$POUSPMMFSϓϩύςΟ
    ͸ηοτ͞ΕΔͱ"VUP-BZPVUͷҝʹͦͷ
    7JFX$POUSPMMFSʹରԠ͢ΔYJCΛ୳͕͢ɺόϯυϧ
    ग़དྷͳ͍ͷͰ౰વݟ͔ͭΒͣΫϥογϡ͢Δ
    w ͔ͩΒ௚઀7JFXΛషΔΑ͏ʹͨ͠

    View full-size slide

  21. ࡞ͬͯΈͯΑ͔ͬͨͱ͜Ζ
    w J04ͱ͸ҧ͏"1*Λ৮ΔͷͰ৽઱ͳؾ࣋ͪʹͳΕΔ
    w ͋ͱ͸ಛʹͳ͍͔ͳʜ

    View full-size slide

  22. ҙ֎ͱ؆୯ʹͭ͘ΕΔͷͰօ͞Μ΋4XJGUͰԿ͔࡞ͬͯΈ͍ͯͩ͘͞

    View full-size slide