<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>llcc</author_name>
  <author_url>https://blog.hatena.ne.jp/llcc/</author_url>
  <blog_title>しめ鯖日記</blog_title>
  <blog_url>https://llcc.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>Swiftで下のようなコードを書いた時にタイトルのようなエラーが出ました let text = String(format: &quot;date: %@&quot;, Date()) エラーは案内に従って下のように修正すれば解消します let text = String(format: &quot;date: %@&quot;, Date() as CVarArg) エラーの原因ですが、Stringのformat付きのメソッドは下のようにCVarArgが引数に必要なためです StringやIntはCVarArgに準拠しているので変換は必要ありません public init(format: String, _ arguments: …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fllcc.hatenablog.com%2Fentry%2F2025%2F02%2F26%2F221609&quot; title=&quot;Argument type &amp;#39;Date&amp;#39; does not conform to expected type &amp;#39;CVarArg&amp;#39;というエラーについて調べる - しめ鯖日記&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>2025-02-26 22:16:09</published>
  <title>Argument type 'Date' does not conform to expected type 'CVarArg'というエラーについて調べる</title>
  <type>rich</type>
  <url>https://llcc.hatenablog.com/entry/2025/02/26/221609</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
