{"published":"2021-09-02 23:43:23","blog_title":"\u305c\u306e\u305c","author_name":"gurrium","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgiarrium.hatenablog.com%2Fentry%2F2021%2F09%2F02%2F234323\" title=\"Swift Generics \u308f\u304b\u3089\u3093 - \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>","title":"Swift Generics \u308f\u304b\u3089\u3093","provider_url":"https://hatena.blog","categories":["Swift"],"provider_name":"Hatena Blog","url":"https://giarrium.hatenablog.com/entry/2021/09/02/234323","description":"\u4eca\u65e5\u3067Generics\u306e\u7ae0\u304c\u7d42\u308f\u3063\u305f\uff0e\u306a\u304b\u306a\u304b\u3084\u3084\u3053\u3057\u304b\u3063\u305f\u306e\u3067\u307e\u3068\u3081\u3066\u307f\u308b\uff0e \u30bf\u30a4\u30d7\u30d1\u30e9\u30e1\u30fc\u30bf \u307e\u305a\uff0cSwift\u306e\u30bf\u30a4\u30d7\u30d1\u30e9\u30e1\u30fc\u30bf*1\u306f3\u7a2e\u985e\u3042\u308b\uff0e Generic Function\u306e\u30d7\u30ec\u30fc\u30b9\u30db\u30eb\u30c0 Generic Type\u306e\u30d7\u30ec\u30fc\u30b9\u30db\u30eb\u30c0 Associated Type \u305d\u308c\u305e\u308c\u3053\u3093\u306a\u611f\u3058\uff0e func genericFuncion<T, U>(_ t: T, u: U) {} struct GenericType<T, U> {} protocol Prot { associatedtype T associatedtype U } generic function\u3063\u307d\u3044\u3053\u3068\u306f\u95a2\u6570\u69d8\u306e\u3082\u306e\u2026","author_url":"https://blog.hatena.ne.jp/gurrium/","blog_url":"https://giarrium.hatenablog.com/","type":"rich","width":"100%","height":"190","version":"1.0","image_url":null}