Slide 1

Slide 1 text

clusterͰͷSwiftUI׆༻ྫ 2022೥3݄3೔ ڮຊ

Slide 2

Slide 2 text

Cluster, Inc. All Rights Reserved. ࣗݾ঺հ 2 • ϓϥοτϑΥʔϜࣄۀ෦GrowthTeamॴଐ • ໿1೥ؒͷΠϯλʔϯظؒΛܦͯɺ2017೥ʹ ৽ଔͰೖࣾ • ιϑτ΢ΣΞΤϯδχΞ⚡ • iOS/Unity

Slide 3

Slide 3 text

Cluster, Inc. All Rights Reserved. ࠓ೔࿩͢͜ͱ 3 • SwiftUIಋೖͷܦҢ΍ํ਑ • clusterͰͷSwiftUIಋೖࣄྫ • ಋೖͯ͠ײͨ͡ྑ͍఺ɾ஫ҙ఺ • ࠓޙऔΓ૊Έ͍ͨ͜ͱ

Slide 4

Slide 4 text

SwiftUIಋೖͷܦҢ΍ํ਑ 🗺

Slide 5

Slide 5 text

Cluster, Inc. All Rights Reserved. ಋೖͷܦҢ 5 • Ϟμϯͳٕज़Λ࢖͍͔ͨͬͨ • ٕज़తͳνϟϨϯδWelcomeͳࣾ෩ • UIύʔπͷίϯϙʔωϯτԽ͕༰қ • ։ൃ଎౓ͷ޲্ • ࢖༻͍ͯ͠ΔطଘϥΠϒϥϦ͕SwiftUIʹରԠ͍ͯͨ͠ • Lottie, SDWebImage, etc…

Slide 6

Slide 6 text

Cluster, Inc. All Rights Reserved. ಋೖͷํ਑ 6 • Collection/TableViewͷCellͷ಺෦ΛSwiftUIԽ͍ͯ͘͠ • ৽ͨʹ࣮૷͢Δը໘ʹ͸ੵۃతʹ࢖༻͢Δ • UIHostingControllerΛCellʹ৐ͤΔ

Slide 7

Slide 7 text

clusterͰͷSwiftUIಋೖࣄྫ 🚀

Slide 8

Slide 8 text

Cluster, Inc. All Rights Reserved. ͜Μͳͱ͜ΖͰ࢖ΘΕ͍ͯ·͢ 8 ϝοηʔδػೳ ϫʔϧυΫϥϑτ

Slide 9

Slide 9 text

Cluster, Inc. All Rights Reserved. ৽͍͠APIͷ࢖༻ࣄྫ 9 ϝοηʔδػೳ contextMenu Long Tap

Slide 10

Slide 10 text

ಋೖͯ͠ײͨ͡ྑ͍఺ 🙆ɾ஫ҙ఺ ⚠

Slide 11

Slide 11 text

Cluster, Inc. All Rights Reserved. ྑ͍఺ 11 • Previewػೳ • UI࣮૷ͷΠςϨʔγϣϯߴ଎Խ • UIύʔπͷίϯϙʔωϯτԽ • ڞ௨෦෼Λ͋ͱ͔Β੾Γग़͠΍͍͢ • ίʔυϨϏϡʔ͠΍͘͢ • XMLΑΓ͸Δ͔ʹಡΈ΍͍͢

Slide 12

Slide 12 text

Cluster, Inc. All Rights Reserved. ϝοηʔδػೳͰͷ׆༻ྫ 12 • ϝοηʔδόϒϧͷ۠ผɺจࣈͷݟ੾Εɺෳ਺ߦɺϦϯΫςΩετ

Slide 13

Slide 13 text

Cluster, Inc. All Rights Reserved. ஫ҙ఺ 13 • Previewػೳ • දࣔ͞Εͳ͘ͳΓ͕ͪ • ࢖͑ΔAPIͷਫ਼ࠪ • iOSόʔδϣϯʹΑͬͯ࢖͑ΔAPI͕ҧ͏ • ViewͷαΠζऔಘ͕ࠔ೉ • GeometryReader͕Ή͍ͣ

Slide 14

Slide 14 text

ࠓޙऔΓ૊Έ͍ͨ͜ͱ 💪

Slide 15

Slide 15 text

Cluster, Inc. All Rights Reserved. ࠓޙऔΓ૊Έ͍ͨ͜ͱ 15 • SwiftUIͷίϯϙʔωϯτ؅ཧ • ݱঢ়Ͳ͜ͰԿ͕࢖ΘΕ͍ͯΔͷ͔͕෼͔ΓͮΒ͍ • ModuleԽɺStorybook • ΞʔΩςΫνϟ౷Ұ • SwiftUI + Combine Ͱ MVVM

Slide 16

Slide 16 text

͝੩ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠