<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mixi_engineers</author_name>
  <author_url>https://blog.hatena.ne.jp/mixi_engineers/</author_url>
  <blog_title>mixi engineer blog</blog_title>
  <blog_url>https://mixiengineer.hatenablog.com/</blog_url>
  <categories>
    <anon>iOS</anon>
    <anon>mixi</anon>
    <anon>Objective-C</anon>
  </categories>
  <description>どうも、佐野です。今回は UIAlertView の拡張カテゴリを作って、delegate ではなく Block でコールバック処理を記述するための拡張カテゴリの作り方を紹介します。 iOS4 から Objective-C では Blocks という独自のクロージャ機能が搭載されました。これによってアニメーションの記述やコールバック処理などグッと直観的・効率的に記述できるようになったのですが、残念ながら UIKit によって提供されているクラスの多くはまだ Blocks に最適化された作りになっていません。UIAlertView もそのひとつです。 UIAlertView は、その deleg…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmixiengineer.hatenablog.com%2Fentry%2F2012%2F10649%2F&quot; title=&quot;UIAlertView の delegate 束縛を解放しよう - mixi engineer blog&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>2012-04-16 06:44:00</published>
  <title>UIAlertView の delegate 束縛を解放しよう</title>
  <type>rich</type>
  <url>https://mixiengineer.hatenablog.com/entry/2012/10649/</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
