{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgiarrium.hatenablog.com%2Fentry%2F2021%2F09%2F03%2F205523\" title=\"80\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>","version":"1.0","published":"2021-09-03 20:55:23","title":"80\u65e5\u76ee ","author_name":"gurrium","provider_url":"https://hatena.blog","type":"rich","height":"190","author_url":"https://blog.hatena.ne.jp/gurrium/","blog_url":"https://giarrium.hatenablog.com/","provider_name":"Hatena Blog","blog_title":"\u305c\u306e\u305c","width":"100%","url":"https://giarrium.hatenablog.com/entry/2021/09/03/205523","description":"\u65e5\u8a18 \u4eca\u65e5\u66f8\u3044\u305f\u30b3\u30fc\u30c9 https://docs.swift.org/swift-book/LanguageGuide/OpaqueTypes.html protocol Shape { func draw() -> String } struct Triangle: Shape { var size: Int func draw() -> String { var result: [String] = [] for length in 1...size { result.append(String(repeating: \"*\", count: length)) } return result\u2026","categories":["Swift"],"image_url":null}