<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hisaboh</author_name>
  <author_url>https://blog.hatena.ne.jp/hisaboh/</author_url>
  <blog_title>Random Note</blog_title>
  <blog_url>https://hisaboh.hatenadiary.com/</blog_url>
  <categories>
    <anon>iPhone</anon>
    <anon>Objective-C</anon>
    <anon>iPhone SDKレシピ</anon>
  </categories>
  <description>CocoaフレームワークにはNSURLDownloadという便利なクラスが用意されているが、iPhone SDK (UIKit) には入っていない。そこで、NSURLConnectionを使ってファイルをダウンロードするための簡単なラッパークラスURLDownloadを用意し、それを用いてファイルをダウンロードする。 Basic認証が必要なURLからのダウンロードにはまだ対応していないが、 didReceiveAuthenticationChallenge のところでUIAlertViewでも出して、いろいろやってやればできるはず。 使用例 このクラスを使うには、 URLDownloadDel…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhisaboh.hatenadiary.com%2Fentry%2F20081207%2Fp2&quot; title=&quot;iPhone SDKレシピ2：NSURLConnectionを使ってファイルをダウンロードする - Random Note&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>2008-12-07 00:00:00</published>
  <title>iPhone SDKレシピ2：NSURLConnectionを使ってファイルをダウンロードする</title>
  <type>rich</type>
  <url>https://hisaboh.hatenadiary.com/entry/20081207/p2</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
