Upgrade to Pro — share decks privately, control downloads, hide ads and more …

cluster_SwiftUI

 cluster_SwiftUI

Cluster, Inc.

March 10, 2022
Tweet

More Decks by Cluster, Inc.

Other Decks in Technology

Transcript

  1. Cluster, Inc. All Rights Reserved. ࣗݾ঺հ 2 • ϓϥοτϑΥʔϜࣄۀ෦GrowthTeamॴଐ •

    ໿1೥ؒͷΠϯλʔϯظؒΛܦͯɺ2017೥ʹ ৽ଔͰೖࣾ • ιϑτ΢ΣΞΤϯδχΞ⚡ • iOS/Unity
  2. Cluster, Inc. All Rights Reserved. ࠓ೔࿩͢͜ͱ 3 • SwiftUIಋೖͷܦҢ΍ํ਑ •

    clusterͰͷSwiftUIಋೖࣄྫ • ಋೖͯ͠ײͨ͡ྑ͍఺ɾ஫ҙ఺ • ࠓޙऔΓ૊Έ͍ͨ͜ͱ
  3. Cluster, Inc. All Rights Reserved. ಋೖͷܦҢ 5 • Ϟμϯͳٕज़Λ࢖͍͔ͨͬͨ •

    ٕज़తͳνϟϨϯδWelcomeͳࣾ෩ • UIύʔπͷίϯϙʔωϯτԽ͕༰қ • ։ൃ଎౓ͷ޲্ • ࢖༻͍ͯ͠ΔطଘϥΠϒϥϦ͕SwiftUIʹରԠ͍ͯͨ͠ • Lottie, SDWebImage, etc…
  4. Cluster, Inc. All Rights Reserved. ಋೖͷํ਑ 6 • Collection/TableViewͷCellͷ಺෦ΛSwiftUIԽ͍ͯ͘͠ •

    ৽ͨʹ࣮૷͢Δը໘ʹ͸ੵۃతʹ࢖༻͢Δ • UIHostingControllerΛCellʹ৐ͤΔ
  5. Cluster, Inc. All Rights Reserved. ྑ͍఺ 11 • Previewػೳ •

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

    දࣔ͞Εͳ͘ͳΓ͕ͪ • ࢖͑ΔAPIͷਫ਼ࠪ • iOSόʔδϣϯʹΑͬͯ࢖͑ΔAPI͕ҧ͏ • ViewͷαΠζऔಘ͕ࠔ೉ • GeometryReader͕Ή͍ͣ
  7. Cluster, Inc. All Rights Reserved. ࠓޙऔΓ૊Έ͍ͨ͜ͱ 15 • SwiftUIͷίϯϙʔωϯτ؅ཧ •

    ݱঢ়Ͳ͜ͰԿ͕࢖ΘΕ͍ͯΔͷ͔͕෼͔ΓͮΒ͍ • ModuleԽɺStorybook • ΞʔΩςΫνϟ౷Ұ • SwiftUI + Combine Ͱ MVVM