<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kouki_dan</author_name>
  <author_url>https://blog.hatena.ne.jp/kouki_dan/</author_url>
  <blog_title>Lento con forza</blog_title>
  <blog_url>https://kouki.hatenadiary.com/</blog_url>
  <categories>
  </categories>
  <description>iOS 14から使えるStateObject、とても便利ですよね developer.apple.com ObservableObjectなどを初期化するときに便利です。 class Object: ObservableObject { @Published var value = &quot;value&quot; } struct Content: View { @StateObject var object = Object() var body: some View { Text(object.value) } } ただ、これはiOS 14以降でしか使えないため、iOS 13に対応が必要な場合は使えません…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkouki.hatenadiary.com%2Fentry%2F2021%2F06%2F22%2F130000&quot; title=&quot;iOS 13でもStateObjectが使いたい！ - Lento con forza&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>2021-06-22 13:00:00</published>
  <title>iOS 13でもStateObjectが使いたい！</title>
  <type>rich</type>
  <url>https://kouki.hatenadiary.com/entry/2021/06/22/130000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
