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

SwiftUI における Color 周りの話 – Color と Gradient から見る SwiftUI への苦悩 – / Understanding SwiftUI focused by Gradient color usages

Ab5e75d761edf0f93cd6517d9305b39d?s=47 Yuto Mizutani
November 08, 2019

SwiftUI における Color 周りの話 – Color と Gradient から見る SwiftUI への苦悩 – / Understanding SwiftUI focused by Gradient color usages

【増枠】Enjoy SwiftUI vol2 ( https://yumemi.connpass.com/event/151594/ ) での発表資料です。

発表を聞いていない方へ向けた登壇メモを付記した Presenter notes 版はこちら → https://speakerdeck.com/expensiveman/include-presenter-notes-understanding-swiftui-focused-by-gradient-color-usages

# References

Color - SwiftUI | Apple Developer Documentation
foregroundColor(_:) - SwiftUI | Apple Developer Documentation
background(_:alignment:) - SwiftUI | Apple Developer Documentation
Gradient - SwiftUI | Apple Developer Documentation
LinearGradient - SwiftUI | Apple Developer Documentation
fill(_:style:) - SwiftUI | Apple Developer Documentation
Mac Catalyst - iOS - Human Interface Guidelines - Apple Developer
Cosmo/OpenSwiftUI - GitHub

Ab5e75d761edf0f93cd6517d9305b39d?s=128

Yuto Mizutani

November 08, 2019
Tweet

More Decks by Yuto Mizutani

Other Decks in Technology

Transcript

  1. SwiftUI ʹ͓͚Δ Color पΓͷ࿩ –– Color ͱ Gradient ͔ΒݟΔ SwiftUI

    ΁ͷۤ೰ –– YUMEMI.swift #4 ~Enjoy SwiftUI vol2~ @גࣜձࣾΏΊΈ
  2. None
  3. None
  4. Rubens & Brueghel, The Garden of Eden with the fall

    of man
  5. SwiftUI ʹ͓͚Δ Color पΓͷ࿩ YUMEMI.swift #4 ~Enjoy SwiftUI vol2~ @גࣜձࣾΏΊΈ

    –– Color ͱ Gradient ͔ΒݟΔ SwiftUI ΁ͷۤ೰ ––
  6. ͔ͨͶ •גࣜձࣾ VALU •ݸਓͰݚڀࢧԉ • ઐ໳͸ Learning & Behavior •try!

    Swift 2019 LT
  7. None
  8. None
  9. None
  10. None
  11. None
  12. None
  13. None
  14. None
  15. None
  16. None
  17. None
  18. None
  19. None
  20. None
  21. None
  22. None
  23. None
  24. None
  25. None
  26. None
  27. None
  28. None
  29. None
  30. None
  31. None
  32. None
  33. None
  34. None
  35. None
  36. None
  37. None
  38. None
  39. None
  40. None
  41. None
  42. None
  43. None
  44. None
  45. None
  46. None
  47. None
  48. Summary • View •background(View) / foregroundColor(Color) • / ??? (View)

    • Shape •foregroundColor(Color) •fill(ShapeStyle) ^
  49. Learn once, apply anywhere

  50. None
  51. None
  52. Learn once, apply anywhere

  53. Learn once, apply anywhere

  54. Learn TWICE OR MORE, apply anywhere

  55. None
  56. None
  57. References • Color - SwiftUI | Apple Developer Documentation •

    foregroundColor(_:) - SwiftUI | Apple Developer Documentation • background(_:alignment:) - SwiftUI | Apple Developer Documentation • Gradient - SwiftUI | Apple Developer Documentation • LinearGradient - SwiftUI | Apple Developer Documentation • fill(_:style:) - SwiftUI | Apple Developer Documentation • Mac Catalyst - iOS - Human Interface Guidelines - Apple Developer • Cosmo/OpenSwiftUI - GitHub