<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Koze</author_name>
  <author_url>https://blog.hatena.ne.jp/Koze/</author_url>
  <blog_title>ObjecTips</blog_title>
  <blog_url>https://koze.hatenablog.jp/</blog_url>
  <categories>
    <anon>Tips</anon>
    <anon>Objective-C</anon>
    <anon>GCD</anon>
  </categories>
  <description>dispatch/object.h に以下のような定義がある。 typedef void (^dispatch_block_t)(void); 自前の実装の中で - (void)test { void (^blockName)(void) = ^{ }; } @interface MyObject : NSObject @property (nonatomic, copy) void (^blockName)(void); @end このように引数無し返り値無しのブロックの定義を行う際に、代わりに dispatch_block_t 型を使用する事ができる。 - (void)test { dis…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkoze.hatenablog.jp%2Fentry%2F2015%2F06%2F20%2F230000&quot; title=&quot;dispatch_block_t - ObjecTips&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-06-20 23:00:00</published>
  <title>dispatch_block_t</title>
  <type>rich</type>
  <url>https://koze.hatenablog.jp/entry/2015/06/20/230000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
