{"id":74,"date":"2021-09-17T15:23:44","date_gmt":"1970-01-01T00:00:00","guid":{"rendered":"http:\/\/swift.tecc0.com\/?p=74"},"modified":"2021-09-17T15:23:44","modified_gmt":"1970-01-01T00:00:00","slug":"post-74","status":"publish","type":"post","link":"https:\/\/swift.tecc0.com\/?p=74","title":{"rendered":"\u5bfe\u51e6\u6cd5: Cannot invoke initializer for type &#8216;UInt&#8217; with an argument list of type &#8216;(objc_AssociationPolicy)&#8217; [Swift2.2]"},"content":{"rendered":"<p><strong>Swift2.0\u306b\u30b3\u30f3\u30d0\u30fc\u30c8<\/strong>\u3057\u305f\u3089\u3001\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u306a\u3093\u304b\u30a8\u30e9\u30fc\u3067\u305f\u3002<\/p>\n<p>&nbsp;<\/p>\n<h3>\u5143\u306e\u30b3\u30fc\u30c9<\/h3>\n<pre class=\"toolbar-overlay:false lang:swift decode:true \">objc_setAssociatedObject(self, &amp;key, nil, UInt(objc_AssociationPolicy.OBJC_ASSOCIATION_RETAIN_NONATOMIC))<\/pre>\n<p>&nbsp;<\/p>\n<h3>\u76f4\u3057\u305f\u30b3\u30fc\u30c9(Swift2.0)<\/h3>\n<pre class=\"toolbar-overlay:false lang:swift decode:true\">objc_setAssociatedObject(self, &amp;key, nil, objc_AssociationPolicy.OBJC_ASSOCIATION_RETAIN_NONATOMIC)<\/pre>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>UInt(objc_AssociationPolicy.OBJC_ASSOCIATION_RETAIN_NONATOMIC)<\/p>\n<p>\u2193<\/p>\n<p>objc_AssociationPolicy.OBJC_ASSOCIATION_RETAIN_NONATOMIC<\/p>\n<p>&nbsp;<\/p>\n<p>\u306b\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u53c2\u8003:\u00a0<a href=\"https:\/\/github.com\/Yalantis\/Side-Menu.iOS\/issues\/20\" target=\"_blank\">Cannot invoke initializer for type &#8216;UInt&#8217; with an argument list of type &#8216;(objc_AssociationPolicy)&#8217;<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Swift2.0\u306b\u30b3\u30f3\u30d0\u30fc\u30c8\u3057\u305f\u3089\u3001\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u306a\u3093\u304b\u30a8\u30e9\u30fc\u3067\u305f\u3002 &nbsp; \u5143\u306e\u30b3\u30fc\u30c9 objc_setAssociatedObject(self, &amp;key, nil, UInt(objc_Associa&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[12],"tags":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/swift.tecc0.com\/index.php?rest_route=\/wp\/v2\/posts\/74"}],"collection":[{"href":"https:\/\/swift.tecc0.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/swift.tecc0.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/swift.tecc0.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/swift.tecc0.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=74"}],"version-history":[{"count":3,"href":"https:\/\/swift.tecc0.com\/index.php?rest_route=\/wp\/v2\/posts\/74\/revisions"}],"predecessor-version":[{"id":305,"href":"https:\/\/swift.tecc0.com\/index.php?rest_route=\/wp\/v2\/posts\/74\/revisions\/305"}],"wp:attachment":[{"href":"https:\/\/swift.tecc0.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=74"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/swift.tecc0.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=74"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/swift.tecc0.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=74"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}