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

Happy Hacking Swift. (try! Swiftの感想も

C5fb6051a588c0b9dc308e97800098ad?s=47 hirose yudai
March 12, 2017
260

Happy Hacking Swift. (try! Swiftの感想も

C5fb6051a588c0b9dc308e97800098ad?s=128

hirose yudai

March 12, 2017
Tweet

Transcript

  1. ",*#"YѪ޷ձ )BQQZ)BDLJOH4XJGU

  2. ࣗݾ঺հ ໊લኍ੉༤େ ৬छJ04&OHJOFFS Α͘ษڧձͰ͸ࣗ࡞044ʹ͍ͭͯ࿩ ͯ͠·͢ɻ໊͍ͭͨ͋ͩ͸4UBSޤ৯ Ͱ͢ɻ4UBS͍ͩ͘͞ɻ HJUIVCIUUQHJUIVCDPNCBOO[BJ

  3. ͦΕͰ͸ൃද

  4. ͷલʹ

  5. USZ4XJGU͓ർΕ༷Ͱͨ͠ ελοϑͷํ΍ӡӦؔ܎ऀͷํຊ౰ʹ͋Γ͕ͱ͏͝ ͍͟·ͨ͠ɻ ͲͷτʔΫ΋໘ന͔ͬͨͰ͢ɻ ϋοΧιϯ΋ָ͔ͬͨ͠Ͱ͢ɻ

  6. ૉఢͳ৆

  7. ָ͔ͬͨ͠໘ന͔ͬͨτʔΫ ͔ۤͬͨ͠ϋοΧιϯ خ͔ͬͨ͠pSFCBTF৆

  8. ͦΜͳྑ͍ؾ࣋ͪͷঢ়ଶͰࠓ೔͸

  9. 3FKFDU$POͰ͓࿩ͨ͠಺༰Λ࠶౓ ൃද͍ͨ͠ͱࢥ͍·͢ɻ

  10. 3FKFDU$POͱ͸ʁ USZ4XJGU5PLZPͷ-5ʹԠื͕ͨ͠3FKFDU͞Εͯ͠·ͬ ͨਓ͕ͨͪͦͷ৔ΛआΓͯ-5Λ͢Δɺͱ͍ͬͨझࢫͷΠϕϯ τͰ͢ ͋ͬͯΔΑͶʁ  ͔ͦ͠͠ͷ࣌ͷൃද಺༰Ԡืͨ͠಺༰͡Όͳͯ͘΋ྑ͍ ʹ͋Γ·ͨ͠ɻ DPOOQBTTIUUQTSNQRVJQQFSDPOOQBTTDPNFWFOU 

  11. ࠓ೔͓࿩͢͠Δ಺༰ 0QFO4PVSDFͰ͋Δ4XJGUͰͪΐͬͱ༡ΜͰΈͨ࣌ͷ ͓࿩͠ɻ ϩʔΧϧʹམͱ͖ͯͯ͠ͷϏϧυํ๏΍ϝιουΛ ௥Ճͯ͠ΈͨΓͱ͍ͬͨ͜ͱΛࠓ೔͸ൃද͠·͢

  12. ͷલʹ ೋ౓໨

  13. USZ4XJGUͰ-5͠Α͏ͱࢥ͍ͬͯͨ͜ͱ J04։ൃʹ͓͚ΔίʔυδΣωϨʔλʔ׆༻ ΞϓϦ։ൃʹ͓͍ͯͷޮ཰ԽΛਤͬͯΈͨͱ͍͏͓࿩ IUUQTHJUIVCDPNCBOO[BJ,VSJ IUUQTHJUIVCDPNCBOO[BJ3FTPVSDF,JU J04ͷ6*τϨʔε J04ΞϓϦ಺ͰJ04ͷಈ͖ΛτϨʔεͯ͠Έͨͱ͍͏࿩ ओʹ͜͜Βล Ћ IUUQTHJUIVCDPNCBOO[BJ,BFSV

  14. 4UBS͍ͩ͘͞

  15. Ҏ্ຬ଍ͨ͠ͷͰൃදΛऴΘΓ·͢

  16. ຊ୊ 4XJGUΛϏϧυͯ͠ϝιουΛ௥Ճ͢Δ·Ͱ ϩʔΧϧʹ͍Ζ͍Ζམͱ͢ CVJMETDSJQU͕༻ҙ͞Ε͍ͯΔͷͰͦΕΛୟ͘ TXJGUTUEMJCQVCMJDDPSF TXJGUʹ4XJGUͷίʔ υΛॻ͍ͯϝιουΛ௥Ճ ࠓճ͸NBD044JFSSBͱ9DPEFΛ࢖ͬͯ4XJGUʹϝ ιουΛ௥Ճ͠·͢

  17. ϩʔΧϧʹ͍Ζ͍Ζམͱ͢ جຊ3&"%.&(FUUJOH4UBSUFE௨ΓͳͷͰͦ͜ΛΈ͍ͯͩ͘͞ IUUQTHJUIVCDPNBQQMFTXJGUHFUUJOHTUBSUFE ࠷৽൛ͷBQQMFTXJGUNBTUFSͰͰϏϧυ͕௨ͬͨ؀ڥͱ͔ ༻ҙ͢Διϑτ΢ΣΞ 4QIJOY ೦ͷͨΊ  9DPEF#FUB $.BLFҎ্ͷ҆ఆ൛

    IPNFCSFX͔ΒೖΕͨͷ$.BLFͰΤϥʔ͕ग़·ͨ͠ɻ ๻͸WFSTJPOΛ࢖͍·ͨ͠ɻ  OJOKB QZUIPOܥ ܥͩͱϏϧυͨ࣌͠ʹίέ·ͨ͠  $.BLFͱOJOKB͸IPNFCSFX͔ΒΠϯετʔϧ͢Δํ๏΋঺հ͞Ε͍ͯ·͕ͨ͠ɺ ๻͸ͦΕͧΕهࡌ͞Ε͍ͯΔผͷํ๏ͰϩʔΧϧʹ༻ҙ͠·ͨ͠
  18. CVJMETDSJQU͕༻ҙ͞Ε͍ͯΔͷͰͦΕΛୟ͘ ͜Ε΋جຊ3&"%.&(FUUJOH4UBSUFEʹهࡌ͞Ε͍ͯ·͢ IUUQTHJUIVCDPNBQQMFTXJGUHFUUJOHTUBSUFE ࠓճ͸9DPEFΛ࢖༻͍ͨ͠ͷͰԼهͷίϚϯυΛ࣮ߦ͠·͢ VUJMTCVJMETDSJQUY NJOʙI͘Β͍์ஔͯ͠ #6*-%46$$&44  Έ͍ͨͳײ͡Ͱදࣔ͞ΕΔͱ੒ޭͰ͢ɻ ੒ޭ͢ΔͱCVJME9DPEF%FCVH"TTFSUTXJGUNBDPTY4XJGUYDPEFQSPKͱ

    ͍͏ϓϩδΣΫτ͕Ͱ͖͍ͯ·͢ɻ ࠓޙ͔͜͜Β9DPEFͰ4XJGU͕ϏϧυͰ͖ͨΓ಺༰Λมߋ͢Δ͜ͱ͕Ͱ͖·͢ɻ
  19. TXJGUTUEMJCQVCMJDDPSF TXJGU ύε͕ॻ͍ͯ͋ΔͷͰ͕͢ɺͪ͜Β΋ઌ΄ͲHFOFSBUF͞Εͨ9DPEF ϓϩδΣΫτʹؚ·Ε͍ͯ·͢ɻ ࠓճ͸"SSBZʹϝιουΛҰͭੜ΍͠·͠ΐ͏ɻ "SSBZͷཁૉΛҰͭSBOEPNʹฦ͢ϝιουTBNQMF Λ༻ҙͯ͠ ͦͷಈ࡞ͷ֬ೝ·Ͱߦ͍·͢

  20. σϞ

  21. ݩʑͷ"SSBZͷఆٛ

  22. ௥Ճ ίί ίί

  23. λʔήοτΛ͜Εʹͯ͠#VJME

  24. λʔϛφϧ͔Β4XJGUΛىಈ

  25. λʔϛφϧ͔Β4XJGUΛىಈ

  26. TBNQMFϝιου͕࣮૷͞Ε͍ͯΔ͜ͱΛ֬ೝ

  27. ·ͱΊͱ͍͏͔ײ૝ 4XJGUʹϝιουΛ௥Ճ࣮ͯ͠ࡍʹಈ͘ͷ͸΍͸ΓײಈతͰ͢Ͷ ͢͝ʔ͍ʂ ͨͷ͠ʔʂ 4XJGUͷίϯτϦϏϡʔλʔͱ໊͔৐ΕͨΒ͔͍͍ͬ͜ ܅͸4XJGUʹίϯτϦϏϡʔτͰ͖ΔϑϨϯζͳΜͩͶʂ -FU`TFOKPZ4XJGU

  28. ͓͠·͍