{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkoze.hatenablog.jp%2Fentry%2F2015%2F06%2F20%2F230000\" title=\"dispatch_block_t - ObjecTips\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","published":"2015-06-20 23:00:00","version":"1.0","provider_name":"Hatena Blog","image_url":null,"description":"dispatch/object.h \u306b\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u5b9a\u7fa9\u304c\u3042\u308b\u3002 typedef void (^dispatch_block_t)(void); \u81ea\u524d\u306e\u5b9f\u88c5\u306e\u4e2d\u3067 - (void)test { void (^blockName)(void) = ^{ }; } @interface MyObject : NSObject @property (nonatomic, copy) void (^blockName)(void); @end \u3053\u306e\u3088\u3046\u306b\u5f15\u6570\u7121\u3057\u8fd4\u308a\u5024\u7121\u3057\u306e\u30d6\u30ed\u30c3\u30af\u306e\u5b9a\u7fa9\u3092\u884c\u3046\u969b\u306b\u3001\u4ee3\u308f\u308a\u306b dispatch_block_t \u578b\u3092\u4f7f\u7528\u3059\u308b\u4e8b\u304c\u3067\u304d\u308b\u3002 - (void)test { dis\u2026","title":"dispatch_block_t","author_url":"https://blog.hatena.ne.jp/Koze/","categories":["Tips","Objective-C","GCD"],"url":"https://koze.hatenablog.jp/entry/2015/06/20/230000","type":"rich","provider_url":"https://hatena.blog","blog_title":"ObjecTips","author_name":"Koze","width":"100%","blog_url":"https://koze.hatenablog.jp/"}