<?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>
    <anon>iOS</anon>
  </categories>
  <description>今日面白い現象に遭遇したのでメモ。 タイトルの通り、要素が1つのタプルはタプルとして扱われないようです。 let tuple1 = (key1: &quot;value1&quot;) print(tuple1.dynamicType) // → String, 本来は(String)となるはず let tuple2 = (key1: &quot;value1&quot;, key2: &quot;Value2&quot;) print(tuple2.dynamicType) // → (String, String) 実際にタプルのメソッドを呼びだそうとしてもエラーが出ます。 let tuple1 = (key1: &quot;value1&quot;) tuple1.…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fllcc.hatenablog.com%2Fentry%2F2015%2F09%2F09%2F185623&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-09-09 18:56:23</published>
  <title>Swiftで要素が一つだけのタプルはタプルではなくなる</title>
  <type>rich</type>
  <url>https://llcc.hatenablog.com/entry/2015/09/09/185623</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
