<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>fxwx23</author_name>
  <author_url>https://blog.hatena.ne.jp/fxwx23/</author_url>
  <blog_title>23's blog</blog_title>
  <blog_url>https://fxwx23.hatenablog.com/</blog_url>
  <categories>
    <anon>Swift</anon>
    <anon>Swift Concurrency</anon>
  </categories>
  <description>@MainActor に隔離されたプロパティや non-Sendable なクラスのプロパティを deinit で触ろうとすると、コンパイラに怒られてしまいます。 Main actor-isolated property 'xxx' can not be mutated from a nonisolated context Cannot access property 'xxx' with a non-Sendable type 'XXX' from nonisolated deinit Swift 6.2 からは、 isolated deinit を使うことで安全にアクセスすることができるよ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffxwx23.hatenablog.com%2Fentry%2Fswift-6-2-isolated-deinit&quot; title=&quot;Swift 6.2+ の isolated deinit が嬉しい - 23&amp;#39;s blog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-02-02 15:41:39</published>
  <title>Swift 6.2+ の isolated deinit が嬉しい</title>
  <type>rich</type>
  <url>https://fxwx23.hatenablog.com/entry/swift-6-2-isolated-deinit</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
