<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mjk0513</author_name>
  <author_url>https://blog.hatena.ne.jp/mjk0513/</author_url>
  <blog_title>また１からこつこつと</blog_title>
  <blog_url>https://mjk0513.hateblo.jp/</blog_url>
  <categories>
    <anon>Swift</anon>
    <anon>iOS</anon>
    <anon>プログラミング</anon>
  </categories>
  <description>※2016/10/31追記 この記事はSwift1.x時代に書いているので古いですSwiftでUIButtonを使うときなかなか手こずったので書いておく。まあ普通の人はこんな間違えしないんだろうけど... セレクターの部分に：を忘れる コードを書いていざ実行！と思いシュミレータ立ち上げてボタンを押すとアプリが落ちる。エラーを見ると、Appdelegate.swiftの12行目って書いてあった。なにも触ってない状態だと12行名ってclassの宣言の部分だった。こんなとこいじってないなーと思いつつよくよく見てみると... let myButton:UIButton(); myButton.setT…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmjk0513.hateblo.jp%2Fentry%2F2015%2F01%2F27%2F175506&quot; title=&quot;SwiftでUIButtonを使う - また１からこつこつと&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>2015-01-27 17:55:06</published>
  <title>SwiftでUIButtonを使う</title>
  <type>rich</type>
  <url>https://mjk0513.hateblo.jp/entry/2015/01/27/175506</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
