<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hayaishi</author_name>
  <author_url>https://blog.hatena.ne.jp/hayaishi/</author_url>
  <blog_title>hayaishi's blog</blog_title>
  <blog_url>https://hayaishi.hatenablog.com/</blog_url>
  <categories>
    <anon>Objective-C</anon>
    <anon>iPhone</anon>
  </categories>
  <description>iOSアプリでまあ簡単なアプリだったら良いんですけど、いくつか画面があったり メインスレッド以外で処理をしてなるべくユーザの操作をブロックしたくないってケースは当然あると思います。 最近作ってるアプリでマルチスレッド対応をしたので備忘録というかまあメモ的な感じで残しておきます。 ここに残してある方法以外にも並列プログラミングの方法や必要なシーンなどはたくさんあるので (ネットワーク通信とかいろいろ)そこはまた機会があれば書きます。 NSTimerを使う タイマーはゲームを作ったりといったシーンなどでも使いたいんじゃ無いでしょうか。 NSTimerを使うことで実現できます。以下の様に実装するだけ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhayaishi.hatenablog.com%2Fentry%2F2013%2F01%2F22%2F095543&quot; title=&quot;iOSのマルチスレッド入門・UI編 - hayaishi&amp;#39;s 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>2013-01-22 09:55:43</published>
  <title>iOSのマルチスレッド入門・UI編</title>
  <type>rich</type>
  <url>https://hayaishi.hatenablog.com/entry/2013/01/22/095543</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
