<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gevvoihorry</author_name>
  <author_url>https://blog.hatena.ne.jp/gevvoihorry/</author_url>
  <blog_title>ホーリーのプログラミング日記</blog_title>
  <blog_url>https://application.hateblo.jp/</blog_url>
  <categories>
    <anon>プログラミング入門</anon>
  </categories>
  <description>SpriteKitを使ってゲームを作ることが多いんですけど、その中で遅延処理をする場面って結構あるんですよね。ちょっとアクションであったり、Nodeの表示を遅らせたい場面が。 んで、そのときにSKAction.waitForDurationを使ってもいいんですが、簡単にサクッと書きたいときは、僕はこのコードをつかってます。 // 1秒遅延let delayTime = dispatch_time(DISPATCH_TIME_NOW, Int64(1 * Double(NSEC_PER_SEC))) dispatch_after(delayTime, dispatch_get_main_queu…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fapplication.hateblo.jp%2Fentry%2F2016%2F09%2F26%2F105835&quot; title=&quot;Swiftで遅延処理をする方法 - ホーリーのプログラミング日記&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.mogile.archive.st-hatena.com/v1/image/gevvoihorry/302450819189811209.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-09-26 10:58:35</published>
  <title>Swiftで遅延処理をする方法</title>
  <type>rich</type>
  <url>https://application.hateblo.jp/entry/2016/09/26/105835</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
