How to quickly introduce XcodePreviews into a product

Eae7b6aeee72d3081b01d09a2d675f9a?s=47 Akio Itaya
November 08, 2019

How to quickly introduce XcodePreviews into a product

EnjoySwiftUI-vol2

Eae7b6aeee72d3081b01d09a2d675f9a?s=128

Akio Itaya

November 08, 2019
Tweet

Transcript

  1. AKKEY / AKIO ITAYA ଈϓϩμΫτʹಋೖ͢ΔͨΊʹ MatchingAgent, Inc. XcodePreviews

  2. ໊લɿ൘୩ ߊྑɹ/ɹ͖͋ͬʔ झຯɿυϥΠϒ ׆ಈɿ@AkkeyLab Cyberagent, Inc. MatchingAgent, Inc. େֶೖֶޙϓϩάϥϛϯάʹҰ໨ࠍΕɺ18೥৽ଔ iOS

    ΤϯδχΞ ࣗݾ঺հ
  3. ࢝·Γ͸ CA.swift WWDC19 ใࠂձ

  4. ը໘ϨΠΞ΢τ

  5. ը໘ϨΠΞ΢τ จࣈαΠζͰௐ੔

  6. ը໘ϨΠΞ΢τ iPhone SE:ʮ೥֬ࡁΈʯඇදࣔ

  7. ը໘ϨΠΞ΢τ URL Λࢦఆͯ͠ը૾Λදࣔ

  8. UIView / XIB File

  9. UIView / XIB File

  10. None
  11. None
  12. None
  13. None
  14. None
  15. None
  16. None
  17. GitHub Ͱެ։தʂ AkkeyLab/StoryboardPreviewsBySwiftUI

  18. ԸܙΛಘΒΕΔͷ͸Θ͔ͬͨ

  19. Ͱ΋ɺXIB શͯରԠ͸໘౗

  20. AutoPreviewable

  21. AutoPreviewable XcodePreviews ʹඞཁͳ code Λࣗಈੜ੒͢Δ

  22. AutoPreviewable AutoPreviewable ʹ४ڌͤ͞Δ͚ͩ

  23. AutoPreviewable

  24. Demo Xcode 11 AkkeyLab / MatchingAgent, Inc.

  25. AutoPreviewable Code only ͳ৔߹ʹ΋ରԠʂߴ͞ࢦఆ΋Մೳ

  26. AutoPreviewable ύϥϝʔλௐ੔Օॴ·Ͱࣗಈੜ੒͸೉͍͠

  27. ҧ͏ΞϓϩʔνͰߟ͑ͯΈΔ

  28. XcodePreviewsTemplate

  29. XcodePreviewsTemplate Class ৽ن࡞੒࣌ɺXcodePreviews ʹඞཁͳ code Λࣗಈੜ੒͢Δ

  30. XcodePreviewsTemplate ͜ΕΒ஀ੜ͢Δ View class ͸શͯ XcodePreviews ରԠʂ

  31. ઓ͍͸·ͩ·ͩଓ͘

  32. 2020 / 01 / 30 ։࠵ܾఆʂ

  33. Thank you !!