{"provider_name":"Hatena Blog","type":"rich","title":"108\u65e5\u76ee ","categories":["Swift"],"height":"190","blog_title":"\u305c\u306e\u305c","provider_url":"https://hatena.blog","author_name":"gurrium","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgiarrium.hatenablog.com%2Fentry%2F2021%2F10%2F02%2F190620\" title=\"108\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>","description":"\u65e5\u8a18 \u4eca\u65e5\u3082\u8ca0\u3051\u8d8a\u3057\u305f\uff0e\u52dd\u73875\u5272\u304d\u3073\u3057\u30fc \u4eca\u65e5\u66f8\u3044\u305f\u30b3\u30fc\u30c9 class Sup { var prop = 0 subscript(_ i: Int) -> Int { return i * 2 } func meth() { print(\"meth\") } init() {} } class Sub: Sup { override init() { super.init() print(super[1]) print(super.prop) super.meth() } } Sub() // 2 // 0 // meth \u611f\u60f3 super.init()\u306f\u3088\u304f\u4f7f\u3046\u3088\u306d","url":"https://giarrium.hatenablog.com/entry/2021/10/02/190620","width":"100%","blog_url":"https://giarrium.hatenablog.com/","version":"1.0","author_url":"https://blog.hatena.ne.jp/gurrium/","image_url":null,"published":"2021-10-02 19:06:20"}