EnjoySwiftUI-vol2
AKKEY / AKIO ITAYAଈϓϩμΫτʹಋೖ͢ΔͨΊʹMatchingAgent, Inc.XcodePreviews
View Slide
໊લɿ൘୩ ߊྑɹ/ɹ͖͋ͬʔझຯɿυϥΠϒ׆ಈɿ@AkkeyLabCyberagent, Inc.MatchingAgent, Inc.େֶೖֶޙϓϩάϥϛϯάʹҰࠍΕɺ18৽ଔ iOS ΤϯδχΞࣗݾհ
࢝·Γ CA.swift WWDC19 ใࠂձ
ը໘ϨΠΞτ
ը໘ϨΠΞτจࣈαΠζͰௐ
ը໘ϨΠΞτiPhone SE:ʮ֬ࡁΈʯඇදࣔ
ը໘ϨΠΞτURL Λࢦఆͯ͠ը૾Λදࣔ
UIView / XIB File
GitHub Ͱެ։தʂAkkeyLab/StoryboardPreviewsBySwiftUI
ԸܙΛಘΒΕΔͷΘ͔ͬͨ
ͰɺXIB શͯରԠ໘
AutoPreviewable
AutoPreviewableXcodePreviews ʹඞཁͳ code Λࣗಈੜ͢Δ
AutoPreviewableAutoPreviewable ʹ४ڌͤ͞Δ͚ͩ
DemoXcode 11AkkeyLab / MatchingAgent, Inc.
AutoPreviewableCode only ͳ߹ʹରԠʂߴ͞ࢦఆՄೳ
AutoPreviewableύϥϝʔλௐՕॴ·Ͱࣗಈੜ͍͠
ҧ͏ΞϓϩʔνͰߟ͑ͯΈΔ
XcodePreviewsTemplate
XcodePreviewsTemplateClass ৽ن࡞࣌ɺXcodePreviews ʹඞཁͳ code Λࣗಈੜ͢Δ
XcodePreviewsTemplate͜ΕΒੜ͢Δ View class શͯ XcodePreviews ରԠʂ
ઓ͍·ͩ·ͩଓ͘
2020 / 01 / 30 ։࠵ܾఆʂ
Thank you !!