Save 37% off PRO during our Black Friday Sale! »

ca.swift_10.pdf

4d40d82cc3c676e8a67ffc2a473bf423?s=47 Kyohei Ito
September 26, 2019
460

 ca.swift_10.pdf

4d40d82cc3c676e8a67ffc2a473bf423?s=128

Kyohei Ito

September 26, 2019
Tweet

Transcript

  1. νʔϜ։ൃͱ Micro Frameworkͱ XcodeGen 2019/9/26 CA.swift

  2. About Me ҏ౻ɹګฏ Github : KyoheiG3 Twitter : @KyoheiG3

  3. νʔϜ։ൃ × XcodeGen

  4. ੈؒҰൠͰݴΘΕ͍ͯΔ͜ͱ gitͷίϯϑϦΫτͱ͓͞Β͹Ͱ͖Δ

  5. ࣮ࡍʹ࢖ͬͯΈͯΘ͔ͬͨ͜ͱ gitͷίϯϑϦΫτͱ͓͞Β͹Ͱ͖Δ

  6. ͳͥίϯϑϦΫτͱ͓͞Β͹Ͱ͖Δͷ

  7. ಛ௃ • ϓϩδΣΫτߏ੒Λએݴతʹॻ͚ͩ͘ • ෆඞཁͳઃఆΛॻ͘ඞཁ͕ͳ͍ • σΟϨΫτϦͷߏ੒͕Navigatorʹͦͷ··൓ө

  8. None
  9. ͦͷଞͷϝϦοτ • ൺֱతՄಡੑ͕ߴ͍ • ࠶ར༻͠΍͍͢

  10. σϝϦοτ • XcodeGenͷόʔδϣχϯάඞਢ • cocoapodsܦ༝ͰͷΠϯετʔϧ͸Ͱ͖ͳ͍

  11. ίϯϑϦΫτ͠ͳ͍ͱ͍͏͜ͱ͸ ϓϩδΣΫτมߋͷGitͷࠩ෼͕ग़ͳ͍

  12. ϑΝΠϧͷҠಈ͕͠΍͍͢

  13. Ϟδϡʔϧͷ࠶ߏ੒͕༰қʹͳΔ

  14. XcodeGen

  15. खॱ 1. ඞཁʹԠͯ͡.xcconfigʹઃఆΛॻ͖ग़͢ 2. .yamlʢ.jsonʣʹϓϩδΣΫτߏ੒Λॻ͘

  16. .xcconfigઃఆ • ໨ࢹͰ֬ೝ͠ͳ͕ΒҠߦ͢Δ • πʔϧΛ࢖͏ https://github.com/toshi0383/xcconfig-extractor

  17. None
  18. None
  19. None
  20. None
  21. ͓͢͢Ίͷߏ੒ • .yamlʹґଘઃఆΛΰϦΰϦॻ͔ͳ͍ • ϓϩδΣΫτͷ.xcconfigʹΞϓϦͳͲͷλʔήοτݻ༗ͷ ઃఆΛॻ͔ͳ͍ • cocoapods͕ࣗಈੜ੒͢Δ.xcconfig͸ɺλʔήοτݻ༗ ͷ.xcconfigʹinclude͢Δ •

    .xcodeprojΛ.gitignoreʹ௥ه͢Δ
  22. ͓͢͢Ίͷ࣮ߦํ๏ • git hooksʹɺcheckout΍mergeͷλΠϛϯάͰxcodegenΛ ࣮ߦ͢Δ • xcodegen࣮ߦͷޙʹpod install΋ߦ͏Α͏ʹ͢Δ

  23. ͜͜·ͰདྷͨΒυϥεςΟοΫͳߏ੒ͷมߋ͕Մೳʹ

  24. Micro Framework × XcodeGen

  25. ࡉ෼Խ͞ΕͨFrameworkʹى͜Γ͏Δঢ়گ • Ϟδϡʔϧͷஔ͖׵͑ • ΞʔΩςΫνϟͷݟ௚͠ʹΑΔϑϨʔϜϫʔΫͷ෼཭΍౷߹ • ൚༻ԽΛૂͬͨϞδϡʔϧͷ෼཭

  26. Model Framework

  27. dependency

  28. Demo https://github.com/KyoheiG3/XcodeGenSample

  29. ·ͱΊ

  30. ·ͱΊ • ϑΝΠϧ΍σΟϨΫτϦͷҠಈʹؾΛ࢖Θͳͯ͘ྑ͍ • ϑϨʔϜϫʔΫͷґଘઃఆ͕௒ઈָ

  31. Thanks!