<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ntaku</author_name>
  <author_url>https://blog.hatena.ne.jp/ntaku/</author_url>
  <blog_title>プログラミングノート</blog_title>
  <blog_url>https://ntaku.hateblo.jp/</blog_url>
  <categories>
    <anon>iOS</anon>
  </categories>
  <description>UITableViewなどのスクロール系のViewでサムネイル画像を出す場合、下記のような記述ではメインスレッドで画像がロードされるため、ユーザーのUI操作に影響が出てしまいます。 NSURL *url = [NSURL URLWithString:@&quot;URL&quot;]; NSData *data = [NSData dataWithContentsOfURL:url]; [instanceOfUIImageView setImage:[[UIImage alloc] initWithData:data]]; こういう場合は非同期通信を行うのが定石だと思いますが、参考になるサンプルがあまり無かったの…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fntaku.hateblo.jp%2Fentry%2F20091031%2F1256977032&quot; title=&quot;非同期通信で画像をロードする方法について - プログラミングノート&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>http://cdn-ak.f.st-hatena.com/images/fotolife/n/ntaku/20091101/20091101131924.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2009-10-31 17:17:12</published>
  <title>非同期通信で画像をロードする方法について</title>
  <type>rich</type>
  <url>https://ntaku.hateblo.jp/entry/20091031/1256977032</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
