{"type":"rich","blog_title":"present","provider_url":"https://hatena.blog","height":"190","provider_name":"Hatena Blog","width":"100%","title":"Objective-C \u3067\u52d5\u7684\u306b\u30e1\u30bd\u30c3\u30c9\u3092\u8ffd\u52a0\u3059\u308b","version":"1.0","author_url":"https://blog.hatena.ne.jp/griefworker/","image_url":null,"url":"https://tnakamura.hatenablog.com/entry/2013/08/21/215005","categories":["Objective-C","iOS"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftnakamura.hatenablog.com%2Fentry%2F2013%2F08%2F21%2F215005\" title=\"Objective-C \u3067\u52d5\u7684\u306b\u30e1\u30bd\u30c3\u30c9\u3092\u8ffd\u52a0\u3059\u308b - present\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"griefworker","blog_url":"https://tnakamura.hatenablog.com/","description":"Objective-C \u3067\u3082\u3001Ruby \u307f\u305f\u3044\u306b\u52d5\u7684\u306b\u30e1\u30bd\u30c3\u30c9\u3092\u8ffd\u52a0\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u305f\u3002 \u3068\u3044\u3046\u3053\u3068\u306f\u3001Objective-C \u3067\u3082\u30e1\u30bf\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u304c\u3067\u304d\u308b\u306d\u3002 \u4eca\u306e\u3068\u3053\u308d\u3001\u30bb\u30ec\u30af\u30bf\u3092\u5f15\u6570\u306b\u53d7\u3051\u53d6\u308b\u30e1\u30bd\u30c3\u30c9\u306e\u30c6\u30b9\u30c8\u3067\u91cd\u5b9d\u3057\u3066\u3044\u308b\u3002 #import \"MyTests.h\" #import <objc/runtime.h> @implementation MyTests - (void)testAddDynamicMethod { __block BOOL called = NO; // \u30e1\u30bd\u30c3\u30c9\u306e\u672c\u4f53\u306b\u306a\u308b\u30d6\u30ed\u30c3\u30af // \u7b2c1\u5f15\u6570\u306f self \u3092\u53d7\u3051\u53d6\u308b void (^testBlock)(id\u2026","published":"2013-08-21 21:50:05"}