開発中のアプリをXcode9 & Swift4に移行しました

開発中のアプリをXcode9 & Swift4に移行しました

Acbf3391de0494432a92221ffe89f34e?s=128

yohei sugigami

June 16, 2017
Tweet

Transcript

  1. ։ൃதͷΞϓϦΛXcode9 & Swift4ʹҠߦ͠·ͨ͠ ɹ ɹ Otemachi.swift #01 - WWDC17 ৼΓฦΓ

    2017/06/16 Yohei Sugigami
  2. Yohei Sugigami Wantedly ٕज़ސ໰ ৽ن։ൃઐ໳ϑϦʔϥϯε ɹ Folioͱ͍͏ূ݊ձࣾελʔτ ΞοϓΛ͓ख఻͍த

  3. ϋϚͬͨͱ͜Ζ

  4. ϥΠϒϥϦ͕Swift4ͰίϯύΠϧΤϥʔ ໌ࣔతʹSwift4ରԠͱᨳͬͯͳͯ͘΋͍͍ͩͨίϯύΠϧͰ͖ͨ ະରԠͷϥΠϒϥϦ͸୅ସΛ୳͢ • ❌ "krzyzanowskim/CryptoSwift" • ❌ "volodg/CryptoSwift" "swift4"

    • ❌ "soffes/Crypto" • " "fromkk/HashKit"
  5. Migration • Conversion to Swift 4 is available • Update

    to recommended settings
  6. Fix Compile warning & error • 20 warnings & 20

    errors • FIX͕ݡ͘ͳͬͨ
  7. ରԠ࣌ؒ 4࣌ؒ

  8. Xcode9 & Swift4

  9. ίϯύΠϧ͸ϗϯτʹ଎͘ͳͬͨͷ͔ʁʂ

  10. ܭଌͯ͠ΈΑ͏ • ΫϦʔϯޙͷϑϧϏϧυ࣌ؒΛ໨ࢹͰܭଌ • Swift 1ສstep • CocoaPods͸ͳ͠ • Xcode9

    Beta1 • Xcode8.3.3
  11. ܭଌͯ͠Έͨ ଎͘ͳ͍ͬͯͳ͍ʁʂ • Xcode9 Beta1 • 28sec • 28sec •

    Xcode8.3.3 • 28sec • 28sec
  12. ओ؍Ͱ͢ • ࠩ෼ίϯύΠϧ͸ؾ࣋ͪ଎͍ؾ͕͢Δ • ιʔείʔυ͕େ͖͘ͳΔͱ͕ࠩग़Δͷ͔΋ • ऄ଍ • ΤσΟλʔ෦෼͸ߴ଎Խ͞Ε͍ͯΔͷͰ։ൃ͸଎͘ײ͡Δ

  13. Wireless Development

  14. ܭଌͯ͠ΈΑ͏ • USB vs Wireless Πϯετʔϧ࣌ؒ • ΫϦʔϯޙͷϑϧϏϧυʹΑΔΠϯετʔϧΛ໨ࢹͰܭଌ • ஫

    Wifi؀ڥʹ݁Ռ͸ґଘ͢Δ
  15. ܭଌͯ͠Έͨ Wireless͸̎ʙ̏ഒ஗͍ • USB • 6sec • 78sec • Wireless

    • 23sec • 28sec
  16. ͱࢥ͍͖΍ ࠩ෼ϏϧυͩͱWirelessΠϯετʔϧ͸ USBΑΓ଎͍৔߹͕͋Δʂʂ • Wireless • 5sec • 6sec

  17. ·ͱΊ • ࠓճͷXcode9ͷΞοϓσʔτ͸ૉ੖Β͍͠ • Apple͕DeveloperʹΑΓ޲͖߹ͬͯ͘ΕΔ Α͏ʹͳͬͨͱײ͡ΔWWDC2017

  18. Let's happy coding with Xcode9