<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>xoyip</author_name>
  <author_url>https://blog.hatena.ne.jp/xoyip/</author_url>
  <blog_title>ぴよログ</blog_title>
  <blog_url>https://xoyip.hatenablog.com/</blog_url>
  <categories>
    <anon>Xcode</anon>
    <anon>iOS</anon>
    <anon>UI</anon>
  </categories>
  <description>Storyboard上に配置しているUI部品のプロパティを、Storyboard上から設定することができるということを最近知りました。これってみんな知ってるんですかね？ 独自のボタンクラス サンプルとして角丸半径や輪郭線の幅を外部から設定できるUIButtonのサブクラスを用意しました。公開プロパティcornerRadius、borderWidthの値をStoryboardから設定する感じで使います。 // CustomeButton.h #import &lt;UIKit/UIKit.h&gt; @interface CustomButton : UIButton @property (nonatomi…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fxoyip.hatenablog.com%2Fentry%2F2014%2F04%2F28%2F201708&quot; title=&quot;XcodeのstoryboardからUI部品にプロパティを与える方法 - ぴよログ&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>https://www.evernote.com/shard/s15/sh/7fe900e4-7587-4002-9e05-fb76cf456fef/330b7a141f4337a92222c6296ac21c4b/deep/0/CustomButton---Main_iPhone.storyboard.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2014-04-28 20:17:08</published>
  <title>XcodeのstoryboardからUI部品にプロパティを与える方法</title>
  <type>rich</type>
  <url>https://xoyip.hatenablog.com/entry/2014/04/28/201708</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
