{"type":"rich","published":"2021-09-18 19:46:51","height":"190","author_url":"https://blog.hatena.ne.jp/gurrium/","provider_name":"Hatena Blog","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgiarrium.hatenablog.com%2Fentry%2F2021%2F09%2F18%2F194651\" title=\"95\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>","categories":["Swift","SwiftUI"],"description":"\u65e5\u8a18 \u9903\u5b50\u4f5c\u308b\u305e\u30fc\u3068\u6750\u6599\u8cb7\u3063\u3066\u304d\u305f\u306f\u3044\u3044\u304c\u304a\u83d3\u5b50\u3092\u98df\u3079\u3061\u3083\u3063\u305f\u306e\u3067\u3042\u3093\u307e\u308a\u304a\u8179\u304c\u3059\u3044\u3066\u306a\u3044\uff0e \u4eca\u65e5\u66f8\u3044\u305f\u30b3\u30fc\u30c9 https://docs.swift.org/swift-book/LanguageGuide/AdvancedOperators.html protocol Drawable { func draw() -> String } struct Line: Drawable { var elements: [Drawable] func draw() -> String { return elements.map { $0.draw() }.joined(separator: \"\") \u2026","version":"1.0","title":"95\u65e5\u76ee ","blog_title":"\u305c\u306e\u305c","blog_url":"https://giarrium.hatenablog.com/","width":"100%","url":"https://giarrium.hatenablog.com/entry/2021/09/18/194651","author_name":"gurrium","provider_url":"https://hatena.blog"}