Slide 1

Slide 1 text

YUMEMI.grow Mobile #10 2024.2.14 ΞϥʔτΛޮՌతʹѻ͓͏ KAWASHIMA Yoshiyuki

Slide 2

Slide 2 text

఻͍͑ͨ͜ͱ • Ϣʔβ͕ΞϥʔτΛܰࢹ͠ͳ͍Α͏ʹ

Slide 3

Slide 3 text

৘ใݯ ώϡʔϚϯΠϯλʔϑΣʔεΨΠυϥΠϯ https://developer.apple.com/jp/design/human-interface-guidelines/ ϚςϦΞϧσβΠϯ https://m3.material.io/

Slide 4

Slide 4 text

લఏ ৄࡉ͸ώϡʔϚϯΠϯλʔϑΣʔεΨΠυϥΠϯɺϚςϦΞϧσβΠϯ ʹॻ͍ͯ͋Γ·͢ɻ ࠓճͷൃදͰ͸ɺ۩ମྫͱݟൺ΂ͳ͕ΒཧղΛਂΊ͍͖͍ͯͨͱࢥ͍ ·͢ɻ

Slide 5

Slide 5 text

༻ޠͷ੔ཧ • ώϡʔϚϯΠϯλϑΣʔεΨΠυϥΠϯ Alert • SwiftUI alert • UIKit UIAlertController • ϚςϦΞϧσβΠϯ Dialogs • Flutter AlertDialog • Jetpack Compose Dialog • Android View AlertDialog

Slide 6

Slide 6 text

ώϡʔϚϯΠϯλʔϑΣʔεΨΠυϥΠϯ

Slide 7

Slide 7 text

Ξϥʔτ͸߇͑Ίʹ࢖͏

Slide 8

Slide 8 text

https://developer.apple.com/jp/design/human-interface-guidelines/alerts Ξϥʔτ͸ॏཁͳ৘ใͷఏࣔʹ࢖͑Δͱ͸͍͑ɺͦͷͨͼʹϢʔ βͷૢ࡞͕தஅ͞Ε·͢ɻͲͷΞϥʔτʹ΋ඞͣෆՄܽͳ৘ใ ΍༗༻ͳΞΫγϣϯؚ͕·Ε͍ͯΔΑ͏ʹ͠ͳ͍ͱɺϢʔβ͕ ΞϥʔτΛܰࢹ͢ΔΑ͏ʹͳΓ͔Ͷ·ͤΜɻ

Slide 9

Slide 9 text

ϚςϦΞϧσβΠϯΨΠυϥΠϯ

Slide 10

Slide 10 text

No content

Slide 11

Slide 11 text

https://m3.material.io/components/dialogs/guidelines#c395b8a7-a125-42f4-9d19-77f535b2c873 ΞϓϦͷ௨ৗͷૢ࡞Λதஅ͢Δର࿩΍ɺಛఆͷϢ ʔβʔλεΫɺܾఆɺ΋͘͠͸ಉҙʹඞཁͱͳΔ ॏཁͳ৘ใʹ͸ Dialogs Λ࢖༻͍ͯͩ͘͠͞

Slide 12

Slide 12 text

https://m3.material.io/components/dialogs/guidelines#c395b8a7-a125-42f4-9d19-77f535b2c873 ௿·ͨ͸த͘Β͍ͷ༏ઌ౓ͷ৘ใʹ Dialogs ͸࢖༻͠ ͳ͍Ͱ͍ͩ͘͞ɻ୅ΘΓʹ Snackbar Λ࢖ͬͯͩ͘ ͍͞ɻফڈͰ͖Δ͠ɺࣗಈతʹඇදࣔʹ΋Ͱ͖·͢

Slide 13

Slide 13 text

ώϡʔϚϯΠϯλʔϑΣʔεΨΠυϥΠϯ

Slide 14

Slide 14 text

https://developer.apple.com/jp/design/human-interface-guidelines/alerts#iOS-iPadOS Ϣʔβ͕ҙਤͨ͠ΞΫγϣϯʹؔ࿈͢Δબ୒ࢶ Λఏࣔ͢Δ৔߹͸ɺΞϥʔτͰ͸ͳ͘ΞΫγ ϣϯγʔτΛ࢖༻͢Δ

Slide 15

Slide 15 text

https://developer.apple.com/jp/design/human-interface-guidelines/alerts#Best-practices Ωϟογϡ͞Εͨσʔλ΍ϓϨʔεϗϧμͷσʔλ Λදࣔͨ͠ΓɺϢʔβͷૢ࡞Λதஅ͠ͳ͍ܗͰ໰୊ ʹ͍ͭͯઆ໌͢ΔϥϕϧΛදࣔ͢Δ͜ͱ͕Ͱ͖·͢

Slide 16

Slide 16 text

۩ମྫ

Slide 17

Slide 17 text

Airplane • Ωϟογϡ͕͋Ε͹Ωϟογϡ Λදࣔʢ͓ͦΒ͘౰೔ͷΩϟο γϡͷ༗ແʣ Apple Weather App

Slide 18

Slide 18 text

Airplane Apple Music

Slide 19

Slide 19 text

Airplane Apple Home

Slide 20

Slide 20 text

Airplane Apple Books

Slide 21

Slide 21 text

ϚςϦΞϧσβΠϯΨΠυϥΠϯ

Slide 22

Slide 22 text

No content

Slide 23

Slide 23 text

https://m3.material.io/components/dialogs/accessibility#a253a077-28be-4e66-b89e-a328db8a40dc ॏཁͰͳ͍৘ใ͸ɺΞϓϦͷίϯςϯπͷ ྲྀΕͷதͰଞͷ UI ࢖ͬͯఏ͍ࣔͯͩ͘͠͞

Slide 24

Slide 24 text

https://m3.material.io/components/dialogs/accessibility#a253a077-28be-4e66-b89e-a328db8a40dc μΠΞϩάʹॏཁͰͳ͍৘ใΛஔ͘͜ͱΛ ආ͚͍ͯͩ͘͞

Slide 25

Slide 25 text

ίϯςϯπ

Slide 26

Slide 26 text

؆͔ܿͭ໌֬ʹঢ়گΛઆ໌͢ΔλΠτϧʹ͢Δ

Slide 27

Slide 27 text

https://developer.apple.com/jp/design/human-interface-guidelines/alerts#Content Ϣʔβʹঢ়گΛૉૣ͘ཧղͯ͠΋Β͏ඞཁ͕͋ΔͷͰɺ৑௕ͳදݱΛආ͚ɺ࿙Εͳ͘۩ମతʹهड़͠· ͢ɻͰ͖ΔݶΓɺى͖ͨ͜ͱɺى͖ͨঢ়گɺى͖ͨཧ༝ʹ͍ͭͯઆ໌͠·͠ΐ͏ɻʮΤϥʔʯ΍ʮΤ ϥʔ329347͕ൃੜ͠·ͨ͠ʯͷΑ͏ͳɺ༗༻ͳ৘ใΛ఻ୡ͠ͳ͍λΠτϧʹ͸͠ͳ͍Ͱ͍ͩ͘͞ɻ2 ߦΛ௒͑ͯંΓฦ͞ΕΔΑ͏ͳ௕͗͢ΔλΠτϧ΋ආ͚·͢ɻλΠτϧ͕׬શͳจͰ͋Δ৔߹͸ɺη ϯςϯεελΠϧͷେจࣈԽʢӳޠͷ৔߹ʣΛ࢖༻͠ɺద੾ͳจ຤ه߸Λ෇͚·͢ɻஅยతͳจΛλ Πτϧʹ͢Δ৔߹͸ɺλΠτϧʹ;͞Θ͍͠දݱʹ͠ɺจ຤ه߸͸෇͚ͳ͍Α͏ʹ͠·͢ɻ

Slide 28

Slide 28 text

Θ͔Γʹ͍͘

Slide 29

Slide 29 text

ຊ౰ʹ༗ҙٛͳΤϥʔϝοηʔδΛॻ͘ʹ͸

Slide 30

Slide 30 text

“࣮֬ʹΰϛശΛۭʹ͢Δ”Λ ࢖༻͢Δͱɺ“ΰϛശ”ʹ͋Δ ߲໨͕׬શʹফڈ͞Ε·͢ɻ ׬શʹফڈͯ͠΋ΑΖ͍͠Ͱ ͔͢ʁ ؆͔ܿͭ໌֬ʹঢ়گΛઆ໌͢ΔλΠτϧ https://postd.cc/how-to-write-an-error-message/

Slide 31

Slide 31 text

No content

Slide 32

Slide 32 text

https://m3.material.io/components/dialogs/guidelines#0c ff 8b6b-d4f3-4442-8194-31212f5d1a12 ͜ͷμΠΞϩάͷλΠτϧ͸ɺ۩ମతͳ࣭໰Λ ఏࣔ͠ɺϦΫΤετʹؔΘΔ಺༰Λ؆ܿʹઆ ໌͠ɺ໌֬ͳΞΫγϣϯΛఏڙ͠·͢

Slide 33

Slide 33 text

https://m3.material.io/components/dialogs/guidelines#0c ff 8b6b-d4f3-4442-8194-31212f5d1a12 μΠΞϩάͷλΠτϧͰᐆດͳ࣭໰Λ͠ͳ ͍Ͱ͍ͩ͘͞

Slide 34

Slide 34 text

͍ͭΞϥʔτΛ࢖ͬͨΒྑ͍͔ʁ

Slide 35

Slide 35 text

ΞϓϦ಺ͰͷόϥϯεͳͷͰਖ਼ղ͸ͳ͍

Slide 36

Slide 36 text

ΞϓϦ಺ͰΞϥʔτΛ૿΍͢͜ͱʹͳͬͨΒ ଞͷΞϥʔτ͕ඞཁ͔ઈ͑ͣݟ௚͕͠ඞཁ

Slide 37

Slide 37 text

ݸʑͷΞϓϦ͕ରԠ͢Δ͚ͩͰ͸ෆे෼

Slide 38

Slide 38 text

·ͣ͸ݸʑͷΞϓϦ͔ΒରԠΛ ෭࣍తޮՌͰϨϏϡʔͷ৺৅͕Α͘ͳΔ ʢ͸ͣʣ

Slide 39

Slide 39 text

͓ΘΓʹ ڞ௨ݴޠΛ࡞Ζ͏ ώϡʔϚϯΠϯλʔϑΣʔεΨΠυϥΠϯ https://developer.apple.com/jp/design/human-interface-guidelines/ ϚςϦΞϧσβΠϯ https://m3.material.io/

Slide 40

Slide 40 text

͓ΘΓʹ هࣄ঺հ iOS ʹ͍ͭͯͷ·ͱΊ https://zenn.dev/yumemi_inc/articles/effective-alert ݩωλͷεΫϥοϓ https://zenn.dev/ykws/scraps/1bd34b3f414206