Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Concurrency Warningが 沢山出たから聞いてほしい ~Xcode 16.1 B...
Search
おしん
September 06, 2024
Programming
1
91
Concurrency Warningが 沢山出たから聞いてほしい ~Xcode 16.1 Beta 編~
おしん
September 06, 2024
Tweet
Share
More Decks by おしん
See All by おしん
iOSのPhoto Libraryアクセス権限を見直してみよう
shincarpediem
1
150
SwiftUI登場前のVIPERアプリでもSwiftUIをスムーズに導入できた話
shincarpediem
2
1.3k
VIPERアプリにSwiftUIを導入してみた
shincarpediem
1
330
Other Decks in Programming
See All in Programming
UnJSで簡単に始めるCLIツール開発 / cli-tool-development-with-unjs
aoseyuu
2
310
게임 개발하던 학생이이 세계에선 안드로이드 개발자?
pangmoo
0
110
Pydantic x Database API:turu-pyの開発
yassun7010
1
730
XP2024 っていう国際会議に行ってきたよの記
bonotake
4
240
実践サーバーレスパフォーマンスチューニング ~その実力に迫る~ / Practical Serverless Performance Tuning ~A Close Look at its Power~
seike460
PRO
2
180
Micro Frontends for Java Microservices - dev2next 2024
mraible
PRO
0
210
モジュラモノリス、その前に / Modular monolith, before that
euglena1215
8
720
現場から考えるソフトウェアエンジニアリングの価値と実験
nomuson
1
130
Competitionsだけじゃない! Kaggle Notebooks Grandmasterのすすめ
corochann
2
620
型付きで行うVSCode拡張機能開発 / VSCode Meetup #31
mazrean
0
240
Re:PandasAI:生成AIがデータ分析業務にもたらすパラダイムシフト【増補改訂版】
negi111111
1
1.1k
RDBの世界をぬりかえていくモデルグラフDB〜truncus graphによるモデルファースト開発〜
jurabi
0
170
Featured
See All Featured
Music & Morning Musume
bryan
46
6.1k
Git: the NoSQL Database
bkeepers
PRO
425
64k
Writing Fast Ruby
sferik
626
60k
Designing for Performance
lara
604
68k
Building Better People: How to give real-time feedback that sticks.
wjessup
362
19k
The Mythical Team-Month
searls
218
43k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
39
2.1k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
46
2k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
The Brand Is Dead. Long Live the Brand.
mthomps
53
38k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
228
52k
KATA
mclloyd
28
13k
Transcript
Copyright © stmn, inc. All rights reserved. iOSΤϯδχΞ ͓͠Μ(@38Punkd) Concurrency
Warning͕ ࢁग़͔ͨΒฉ͍ͯ΄͍͠ ʙXcode 16.1 Beta ฤʙ
2
01 02 03 04 05 Xcode 16ͱSwift versionʹ͍ͭͯ ৽ͨʹग़ͨWaring, Build
Errorͷछྨ ·ͱΊ 3
Xcode 16ͱ Swift versionʹ͍ͭͯ 01
None
Xcode 16.1 Beta͕ ग़·ͨ͠Ͷʂ
Xcode 16͔ΒSwift 6ܥ͕બͰ͖ΔΑ͏ʹ
Xcode 16͔ΒSwift 6ܥ͕બͰ͖ΔΑ͏ʹ Swift 6ܥOpt-inͳͷͰ Xcode 16ͰSwift 5ܥΛࢦఆ͠ଓ͚ΒΕΔ
Swift 6ܥʹରԠͰ͖ͯͳ͍ͱ… Xcode ͕ ΞοϓσʔτͰ͖ͳ͘ͳΔ
Swift 6ܥʹରԠͰ͖ͯͳ͍ͱ… खݩͷ MacPC ͕ ΞοϓσʔτͰ͖ͳ͘ͳΔ
৽ͨʹग़ͨ Warning, Build Errorͷछྨ 02
͋͘·Ͱ͕ࣗૺ۰ͨ͠ͷ͚ͩΛ ϐοΫΞοϓͯ͠·͢🙏
01 02 03 04 05 ৽ͨʹग़ͨWarning, Build Errorͷछྨ initializerݺͼग़͠ݩͷActor ContextΛҾ͖ܧ͙
nonSendable͕ActorڥքΛ͑Δʹ`sending` ڞ௨ͷܕͷProtocolՃ४ڌʹ`@retroactive` 13 awakeFromNib
01 02 03 04 05 ৽ͨʹग़ͨWarning, Build Errorͷछྨ initializerݺͼग़͠ݩͷActor ContextΛҾ͖ܧ͙
nonSendable͕ActorڥքΛ͑Δʹ`sending` ڞ௨ͷܕͷProtocolՃ४ڌʹ`@retroactive` 14 awakeFromNib
initializerݺͼग़͠ݩͷActor ContextΛҾ͖ܧ͙
initializerݺͼग़͠ݩͷActor ContextΛҾ͖ܧ͙
initializerݺͼग़͠ݩͷActor ContextΛҾ͖ܧ͙
initializerݺͼग़͠ݩͷActor ContextΛҾ͖ܧ͙
initializerݺͼग़͠ݩͷActor ContextΛҾ͖ܧ͙ ղফํ๏ 1
initializerݺͼग़͠ݩͷActor ContextΛҾ͖ܧ͙
initializerݺͼग़͠ݩͷActor ContextΛҾ͖ܧ͙ ղফํ๏ 2
initializerݺͼग़͠ݩͷActor ContextΛҾ͖ܧ͙
initializerݺͼग़͠ݩͷActor ContextΛҾ͖ܧ͙ 4XJGU͔Β༻Մೳ ৄࡉ1SPQPTBMΛ☑ IUUQTHJUIVCDPNTXJGUMBOHTXJGUFWPMVUJPOCMPCNBJOQSPQPTBMT BDUPSJOJUJBMJ[FSTNE
01 02 03 04 05 ৽ͨʹग़ͨWarning, Build Errorͷछྨ initializerݺͼग़͠ݩͷActor ContextΛҾ͖ܧ͙
nonSendable͕ActorڥքΛ͑Δʹ`sending` ڞ௨ͷܕͷProtocolՃ४ڌʹ`@retroactive` 24 awakeFromNib
nonSendable͕ActorڥքΛ͑Δʹ`sending`
nonSendable͕ActorڥքΛ͑Δʹ`sending`
nonSendable͕ActorڥքΛ͑Δʹ`sending`
nonSendable͕ActorڥքΛ͑Δʹ`sending` ղফํ๏
nonSendable͕ActorڥքΛ͑Δʹ`sending`
nonSendable͕ActorڥքΛ͑Δʹ`sending` 4XJGU͔Β༻Մೳ ৄࡉ1SPQPTBMΛ☑ IUUQTHJUIVCDPNTXJGUMBOHTXJGUFWPMVUJPOCMPCNBJOQSPQPTBMT USBOTGFSSJOHQBSBNFUFSTBOESFTVMUTNE IUUQT[FOOEFWNBUTVKJBSUJDMFTGDF
01 02 03 04 05 ৽ͨʹग़ͨWarning, Build Errorͷछྨ initializerݺͼग़͠ݩͷActor ContextΛҾ͖ܧ͙
nonSendable͕ActorڥքΛ͑Δʹ`sending` ڞ௨ͷܕͷProtocolՃ४ڌʹ`@retroactive` 31 awakeFromNib
ڞ௨ͷܕͷProtocolՃ४ڌʹ`@retroactive`
ڞ௨ͷܕͷProtocolՃ४ڌʹ`@retroactive`
ڞ௨ͷܕͷProtocolՃ४ڌʹ`@retroactive` ղফํ๏
ڞ௨ͷܕͷProtocolՃ४ڌʹ`@retroactive`
ڞ௨ͷܕͷProtocolՃ४ڌʹ`@retroactive` `@retroactive`ͳͥඞཁʁ
ڞ௨ͷܕͷProtocolՃ४ڌʹ`@retroactive`
ڞ௨ͷܕͷProtocolՃ४ڌʹ`@retroactive` `ෳModuleͰProtocolΛ४ڌ͠ɺͦΕͧΕҟͳΔ࣮Λ͢Δͱɺ ҙਤ͠ͳ͍ڍಈʹɻ ։ൃऀࣄͰͲ͏ͯ͠ඞཁͳΒɺ`@retroactive`Λ͚ͭͯ swift 6ܥͰͷBuild ErrorΛճආͰ͖Δ( = ಀ͛ಓ)ɻ
ڞ௨ͷܕͷProtocolՃ४ڌʹ`@retroactive` `ෳModuleͰProtocolΛ४ڌ͠ɺͦΕͧΕҟͳΔ࣮Λ͢Δͱɺ ҙਤ͠ͳ͍ڍಈʹɻ ։ൃऀࣄͰͲ͏ͯ͠ඞཁͳΒɺ`@retroactive`Λ͚ͭͯ swift 6ܥͰͷBuild ErrorΛճආͰ͖Δ( = ಀ͛ಓ)ɻ 4XJGU͔Β༻Մೳ
ৄࡉ1SPQPTBMΛ☑ IUUQTHJUIVCDPNTXJGUMBOHTXJGUFWPMVUJPOCMPCNBJOQSPQPTBMT SFUSPBDUJWFDPOGPSNBODFXBSOJOHNE
01 02 03 04 05 ৽ͨʹग़ͨWarning, Build Errorͷछྨ initializerݺͼग़͠ݩͷActor ContextΛҾ͖ܧ͙
nonSendable͕ActorڥքΛ͑Δʹ`sending` ڞ௨ͷܕͷProtocolՃ४ڌʹ`@retroactive` 40 awakeFromNib
awakeFromNib
awakeFromNib
awakeFromNib
·ͱΊ 03
·ͱΊ • Xcode 16ͰେྔͷWarning͕ग़Δ
·ͱΊ • Xcode 16ͰେྔͷWarning͕ग़Δ • ProposalΛಡΈਐΊΔͱཧ༝͕Θ͔Δ
·ͱΊ ਏ͍͚Ͳ͕ΜΖʂ
͋Γ͕ͱ͏͍͟͝·ͨ͠ʂ 48