{"version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgiarrium.hatenablog.com%2Fentry%2F2021%2F07%2F11%2F224209\" title=\"34\u65e5\u76ee property wrapper - \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%","image_url":null,"categories":["Swift"],"url":"https://giarrium.hatenablog.com/entry/2021/07/11/224209","provider_url":"https://hatena.blog","title":"34\u65e5\u76ee property wrapper","blog_url":"https://giarrium.hatenablog.com/","published":"2021-07-11 22:42:09","blog_title":"\u305c\u306e\u305c","description":"\u65e5\u8a18 \u30a2\u30de\u30d7\u30e9\u3067\u30ab\u30a4\u30b8\u3092\u898b\u3066\u3044\u305f\u3089\u5fd8\u308c\u308b\u3068\u3053\u308d\u3060\u3063\u305f \u4eca\u65e5\u66f8\u3044\u305f\u30b3\u30fc\u30c9 @propertyWrapper struct TwelveOrLess { private var number = 0 var wrappedValue: Int { get { return number } set { number = min(newValue, 12) } } } struct SmallRectangle { @TwelveOrLess var height: Int @TwelveOrLess var width: Int } var rectangle = SmallRectangle()\u2026","height":"190","provider_name":"Hatena Blog","type":"rich","author_name":"gurrium","author_url":"https://blog.hatena.ne.jp/gurrium/"}