Slide 1

Slide 1 text

AKKEY / AKIO ITAYA visionOS ରԠνϟϨϯδ visionOS Engineer LTձ vol.4 Native

Slide 2

Slide 2 text

@AkkeyLab

Slide 3

Slide 3 text

trying education developing AppBrew, inc. AkkeyLab, inc. inet LLC @AkkeyLab Engineer CEO Engineer 👩💻 ˎۀ຿ҕୗͰ͓ੈ࿩ʹͳͬͯΔاۀ༷Λআ͖·͢ Apple Vision Pro icon: https://developer.apple.com/news/?id=wztdeypy

Slide 4

Slide 4 text

trying education developing AppBrew, inc. AkkeyLab, inc. inet LLC @AkkeyLab Engineer CEO Engineer 👩💻 ˎۀ຿ҕୗͰ͓ੈ࿩ʹͳͬͯΔاۀ༷Λআ͖·͢ Apple Vision Pro icon: https://developer.apple.com/news/?id=wztdeypy

Slide 5

Slide 5 text

AppBrew, inc. AkkeyLab, inc. inet LLC @AkkeyLab Engineer CEO Engineer 👩💻 trying education developing ˎۀ຿ҕୗͰ͓ੈ࿩ʹͳͬͯΔاۀ༷Λআ͖·͢ Apple Vision Pro icon: https://developer.apple.com/news/?id=wztdeypy

Slide 6

Slide 6 text

AppBrew, inc. AkkeyLab, inc. inet LLC @AkkeyLab Engineer CEO Engineer 👩💻 trying education developing ˎۀ຿ҕୗͰ͓ੈ࿩ʹͳͬͯΔاۀ༷Λআ͖·͢ Apple Vision Pro icon: https://developer.apple.com/news/?id=wztdeypy

Slide 7

Slide 7 text

Question

Slide 8

Slide 8 text

visionOS app ։ൃͯ͠Δਓ🙋 ۀ຿Ͱ

Slide 9

Slide 9 text

ֶͼͷػձΛ࡞Γ͍ͨ…ʂ ࣾ಺Ͱ

Slide 10

Slide 10 text

Ұ෦ػೳΛωΠςΟϒରԠ β info

Slide 11

Slide 11 text

AppBrew, inc. AkkeyLab, inc. inet LLC @AkkeyLab Engineer CEO Engineer 👩💻 trying education developing ˎۀ຿ҕୗͰ͓ੈ࿩ʹͳͬͯΔاۀ༷Λআ͖·͢ Apple Vision Pro icon: https://developer.apple.com/news/?id=wztdeypy

Slide 12

Slide 12 text

Multi-platform support iOS, iPadOS, macOS, visionOS

Slide 13

Slide 13 text

ˎ։ൃ్தͷ΋ͷͰ͢

Slide 14

Slide 14 text

sheet

Slide 15

Slide 15 text

sheet

Slide 16

Slide 16 text

β info

Slide 17

Slide 17 text

sheet β info

Slide 18

Slide 18 text

sheet ⚠ can't close 👉 β info

Slide 19

Slide 19 text

It's not a bug…? 🐛

Slide 20

Slide 20 text

sheet ⚠ can't close 👉

Slide 21

Slide 21 text

Fix🔨

Slide 22

Slide 22 text

window β info

Slide 23

Slide 23 text

@main struct SearchApp: App { var body: some Scene { WindowGroup(id: "search-main") {…} WindowGroup(id: "company-detail") { if let selectedCompany { CompanyDetailView(company: selectedCompany, showSearchButton: true) .padding(32) } } .defaultSize(width: 0.4, height: 0.2, depth: 1, in: .meters) } } ToolbarItem(placement: .topBarTrailing) { Button( action: { openWindow(id: "company-detail") }, label: { Image(systemName: "info.bubble") } ) }

Slide 24

Slide 24 text

@main struct SearchApp: App { var body: some Scene { WindowGroup(id: "search-main") {…} WindowGroup(id: "company-detail") { if let selectedCompany { CompanyDetailView(company: selectedCompany, showSearchButton: true) .padding(32) } } .defaultSize(width: 0.4, height: 0.2, depth: 1, in: .meters) } } ToolbarItem(placement: .topBarTrailing) { Button( action: { openWindow(id: "company-detail") }, label: { Image(systemName: "info.bubble") } ) } tool bar item β info

Slide 25

Slide 25 text

@main struct SearchApp: App { var body: some Scene { WindowGroup(id: "search-main") {…} WindowGroup(id: "company-detail") { if let selectedCompany { CompanyDetailView(company: selectedCompany, showSearchButton: true) .padding(32) } } .defaultSize(width: 0.4, height: 0.2, depth: 1, in: .meters) } } ToolbarItem(placement: .topBarTrailing) { Button( action: { openWindow(id: "company-detail") }, label: { Image(systemName: "info.bubble") } ) } tool bar item β info

Slide 26

Slide 26 text

Also supports iPadOS and macOS

Slide 27

Slide 27 text

window

Slide 28

Slide 28 text

window

Slide 29

Slide 29 text

Summary

Slide 30

Slide 30 text

·ͣ͸খن໛ͳΞϓϦΛ৮ͬͯ΋Β͏👩💻 Sheet ͷऔΓѻ͍ʹ͸஫ҙ ⚠ Ϛϧν΢Οϯυ΢ͷར༻΋ࢹ໺ʹೖΕΔ🏞 Summary

Slide 31

Slide 31 text

·ͣ͸খن໛ͳΞϓϦΛ৮ͬͯ΋Β͏👩💻 Sheet ͷऔΓѻ͍ʹ͸஫ҙ ⚠ Ϛϧν΢Οϯυ΢ͷར༻΋ࢹ໺ʹೖΕΔ🏞 Summary

Slide 32

Slide 32 text

·ͣ͸খن໛ͳΞϓϦΛ৮ͬͯ΋Β͏👩💻 Sheet ͷऔΓѻ͍ʹ͸஫ҙ ⚠ Ϛϧν΢Οϯυ΢ͷར༻΋ࢹ໺ʹೖΕΔ🏞 Summary

Slide 33

Slide 33 text

try!Swift Tokyo 24೥3݄։࠵ʂ PR https://tryswift.jp

Slide 34

Slide 34 text

Thank you !!