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

Concurrency Warningが 沢山出たから聞いてほしい ~Xcode 16.1 B...

おしん
September 06, 2024

Concurrency Warningが 沢山出たから聞いてほしい ~Xcode 16.1 Beta 編~

おしん

September 06, 2024
Tweet

More Decks by おしん

Other Decks in Programming

Transcript

  1. Copyright © stmn, inc. All rights reserved. iOSΤϯδχΞ ͓͠Μ(@38Punkd) Concurrency

    Warning͕ ୔ࢁग़͔ͨΒฉ͍ͯ΄͍͠ ʙXcode 16.1 Beta ฤʙ
  2. 2

  3. 01 02 03 04 05 ৽ͨʹग़ͨWarning, Build Errorͷछྨ initializer͸ݺͼग़͠ݩͷActor ContextΛҾ͖ܧ͙

    nonSendable͕ActorڥքΛ௒͑Δʹ͸`sending` ڞ௨ͷܕ΁ͷProtocol௥Ճ४ڌʹ͸`@retroactive` 13 awakeFromNib
  4. 01 02 03 04 05 ৽ͨʹग़ͨWarning, Build Errorͷछྨ initializer͸ݺͼग़͠ݩͷActor ContextΛҾ͖ܧ͙

    nonSendable͕ActorڥքΛ௒͑Δʹ͸`sending` ڞ௨ͷܕ΁ͷProtocol௥Ճ४ڌʹ͸`@retroactive` 14 awakeFromNib
  5. 01 02 03 04 05 ৽ͨʹग़ͨWarning, Build Errorͷछྨ initializer͸ݺͼग़͠ݩͷActor ContextΛҾ͖ܧ͙

    nonSendable͕ActorڥքΛ௒͑Δʹ͸`sending` ڞ௨ͷܕ΁ͷProtocol௥Ճ४ڌʹ͸`@retroactive` 24 awakeFromNib
  6. 01 02 03 04 05 ৽ͨʹग़ͨWarning, Build Errorͷछྨ initializer͸ݺͼग़͠ݩͷActor ContextΛҾ͖ܧ͙

    nonSendable͕ActorڥքΛ௒͑Δʹ͸`sending` ڞ௨ͷܕ΁ͷProtocol௥Ճ४ڌʹ͸`@retroactive` 31 awakeFromNib
  7. 01 02 03 04 05 ৽ͨʹग़ͨWarning, Build Errorͷछྨ initializer͸ݺͼग़͠ݩͷActor ContextΛҾ͖ܧ͙

    nonSendable͕ActorڥքΛ௒͑Δʹ͸`sending` ڞ௨ͷܕ΁ͷProtocol௥Ճ४ڌʹ͸`@retroactive` 40 awakeFromNib