<?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>開発環境 $ xcodebuild -version Xcode 14.3 Build version 14E222b モチベーション SwiftUIのViewの組み方は色々ある。今の自分の考えをメモしておく。 先行事例 iOSDC Japan 2022でウホーイさんが発表された内容がしっくりきている。 speakerdeck.com 単純なViewならプロパティに切り出す 引数渡す場合はメソッドに切り出す paddingなどの利用側起因で値を変更したいmodifierは利用側で付与する 個人の思想 意味的な最小の粒度で分割したい。 import SwiftUI struct ContentV…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftokizuoh.hatenablog.com%2Fentry%2F2023%2F04%2F26%2F214416&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/20230426/20230426211048.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-04-26 21:44:16</published>
  <title>SwiftUIで意味的最小粒度のViewを作るための個人的思想</title>
  <type>rich</type>
  <url>https://tokizuoh.hatenablog.com/entry/2023/04/26/214416</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
