<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>inon29</author_name>
  <author_url>https://blog.hatena.ne.jp/inon29/</author_url>
  <blog_title>It’s now or never</blog_title>
  <blog_url>https://inon29.hateblo.jp/</blog_url>
  <categories>
    <anon>iOS</anon>
    <anon>Swift</anon>
    <anon>SwiftUI</anon>
  </categories>
  <description>概要 SwiftUIのViewの書き方には今までのSwiftにはなかった特徴があります。 次のような、クロージャにViewを連続で渡すようなDSL記法です。 今までのSwiftを書いたことがある人は、「なぜこんな書き方ができるんだろう？」と疑問に思われた人もいるかもしれません。 struct ContentView: View { var body: some View { VStack { Text(&quot;1行目&quot;) Text(&quot;2行目&quot;) Text(&quot;3行目&quot;) } } } これには、@ViewBuilder という仕組みが使われているのですが、今回はこの @ViewBuilderとその元の拡…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Finon29.hateblo.jp%2Fentry%2F2020%2F04%2F11%2F121141&quot; title=&quot;【SwiftUI】SwiftUIで使われるDSL構文について(@ViewBuilderとか@_functionBuilderとか) - It’s now or never&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>2020-04-11 12:11:41</published>
  <title>【SwiftUI】SwiftUIで使われるDSL構文について(@ViewBuilderとか@_functionBuilderとか)</title>
  <type>rich</type>
  <url>https://inon29.hateblo.jp/entry/2020/04/11/121141</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
