<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tokizuoh</author_name>
  <author_url>https://blog.hatena.ne.jp/tokizuoh/</author_url>
  <blog_title>カルボナーラ街道</blog_title>
  <blog_url>https://tokizuoh.hatenablog.com/</blog_url>
  <categories>
    <anon>SwiftUI</anon>
  </categories>
  <description>主語大きい。何が言いたいかと言うと、よく利用するIdentifiableを準拠させる構造体のプロパティは可能な限り丸めずに渡した方がIDの一意性を担保しやすい。 開発環境 $ xcodebuild -version Xcode 14.1 Build version 14B47b SwiftUIにおけるIdentifiable WWDCの動画でSwiftUIにおけるIdentifiableの利用例が出てくる。 developer.apple.com 本記事では、以下のようなワークアウトのviewを作る際のIdentifiableについて考える。 コード このコードには問題があります。どこでしょう…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftokizuoh.hatenablog.com%2Fentry%2F2023%2F02%2F09%2F210058&quot; title=&quot;SwiftUIでは可能な限り値を丸めずにviewに渡すことを心がけている - カルボナーラ街道&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>https://cdn-ak.f.st-hatena.com/images/fotolife/t/tokizuoh/20230126/20230126203138.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-02-09 21:00:58</published>
  <title>SwiftUIでは可能な限り値を丸めずにviewに渡すことを心がけている</title>
  <type>rich</type>
  <url>https://tokizuoh.hatenablog.com/entry/2023/02/09/210058</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
