{"provider_url":"https://hatena.blog","description":"\u65e5\u8a18 \u4e45\u3005\u306b\u30a2\u30cb\u30e1\u3092\u4e00\u6c17\u898b\u3057\u305f\uff0e\u3053\u308c\u3088\u3053\u308c\u3063\u3066\u611f\u3058\u3088\u306a\u3041\uff0e\u3042\u3068\u4e45\u3005\u306b\u30d7\u30e9\u30e2\u4f5c\u308a\u305f\u304f\u306a\u3063\u3066\u304d\u305f\uff0e \u4eca\u65e5\u66f8\u3044\u305f\u30b3\u30fc\u30c9 let arrayOfOptionalInts: [Int?] = [nil, 2, 3, nil, 5] for case let number? in arrayOfOptionalInts { print(\"Found a \\(number)\") } // Found a 2 // Found a 3 // Found a 5 \u611f\u60f3 Optional Pattern\u3068\u3044\u3046\u3089\u3057\u3044\uff0e\u3053\u308c\u77e5\u3089\u306a\u304b\u3063\u305f\u306e\u3067\u4eca\u307e\u3067\u306f\u5225\u306e\u65b9\u6cd5\u3067\u3084\u3063\u3066\u3044\u305d\u3046\uff0earrayOfOptionalInts.com\u2026","type":"rich","height":"190","blog_title":"\u305c\u306e\u305c","title":"135\u65e5\u76ee","version":"1.0","url":"https://giarrium.hatenablog.com/entry/2021/10/31/184923","author_url":"https://blog.hatena.ne.jp/gurrium/","blog_url":"https://giarrium.hatenablog.com/","published":"2021-10-31 18:49:23","categories":["Swift"],"image_url":null,"author_name":"gurrium","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgiarrium.hatenablog.com%2Fentry%2F2021%2F10%2F31%2F184923\" title=\"135\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_name":"Hatena Blog"}