<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>komaji504</author_name>
  <author_url>https://blog.hatena.ne.jp/komaji504/</author_url>
  <blog_title>ドン・エンジニーア</blog_title>
  <blog_url>https://komaji504.hateblo.jp/</blog_url>
  <categories>
    <anon>Swift</anon>
    <anon>iOS</anon>
  </categories>
  <description>以下の3つのProtocolを用いることで、Swiftの文字列補間（式展開, 変数展開などとも言う）をカスタマイズすることができる。 ExpressibleByStringLiteral ExpressibleByStringInterpolation StringInterpolationProtocol 文字列リテラルで任意の型を初期化する ExpressibleByStringLiteralは、準拠した型を文字列リテラルで初期化することを可能にするProtocolで、StringもこのProtocolに準拠している。 このProtocolを任意の型に準拠させることで、String同様に文…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkomaji504.hateblo.jp%2Fentry%2F2022%2F12%2F07%2F093000&quot; title=&quot;Swiftの文字列補間をカスタマイズする - ドン・エンジニーア&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.blog.st-hatena.com/images/theme/og-image-1500.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-12-07 09:30:00</published>
  <title>Swiftの文字列補間をカスタマイズする</title>
  <type>rich</type>
  <url>https://komaji504.hateblo.jp/entry/2022/12/07/093000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
