{"provider_name":"Hatena Blog","blog_title":"\u305c\u306e\u305c","height":"190","author_url":"https://blog.hatena.ne.jp/gurrium/","published":"2021-08-20 19:56:05","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgiarrium.hatenablog.com%2Fentry%2F2021%2F08%2F20%2F195605\" title=\"68\u65e5\u76ee  - \u305c\u306e\u305c\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","provider_url":"https://hatena.blog","type":"rich","title":"68\u65e5\u76ee ","categories":["Swift"],"url":"https://giarrium.hatenablog.com/entry/2021/08/20/195605","author_name":"gurrium","image_url":null,"description":"\u65e5\u8a18 \u306a\u3057 \u4eca\u65e5\u66f8\u3044\u305f\u30b3\u30fc\u30c9 \u4eca\u65e5\u306fType Casting\u306e\u7ae0\u3092\u8aad\u3093\u3060 var things: [Any] = [] things.append(0) things.append(0.0) things.append(42) things.append(3.14159) things.append(\"hello\") things.append((3.0, 5.0)) things.append({ (name: String) -> String in \"Hello, \\(name)\" }) for thing in things { switch thing { case 0 as Int\u2026","blog_url":"https://giarrium.hatenablog.com/"}