<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kurotyann</author_name>
  <author_url>https://blog.hatena.ne.jp/kurotyann/</author_url>
  <blog_title>kurotyannの覚え書き</blog_title>
  <blog_url>https://keeping.hatenablog.jp/</blog_url>
  <categories>
    <anon>iOS</anon>
    <anon>Swift</anon>
  </categories>
  <description>xibのイニシャライザと、コードのイニシャライザ 引き続き、下記のアプリで行ったことをアウトプット。 ボルダーmasashi sutouスポーツ無料 xibのイニシャライザは init?(coder aDecoder: NSCoder) で、コードのイニシャライザは init(frame: CGRect) または独自で定義したイニシャライザになる。 上記のアプリを作成したとき、xibとコードの両方から利用できるカスタムViewが欲しくなった。 具体的に説明すると、Cellで画像を表示するViewはCellがStoryboardで定義されているのでxib経由で初期化したい。 一方、上記のアプリは…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkeeping.hatenablog.jp%2Fentry%2F2017%2F09%2F19%2F012400&quot; title=&quot;xibとコードの両方から利用できるカスタムビューを作る - kurotyannの覚え書き&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://cdn.image.st-hatena.com/image/scale/49d39d3059e7f2668df14fdea0942460afbdcfbf/enlarge=0;height=200;version=1;width=200/http%3A%2F%2Fis5.mzstatic.com%2Fimage%2Fthumb%2FPurple128%2Fv4%2F43%2F52%2Fc4%2F4352c453-2841-2644-20f3-02e02a50ee55%2Fsource%2F100x100bb.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-09-19 01:24:00</published>
  <title>xibとコードの両方から利用できるカスタムビューを作る</title>
  <type>rich</type>
  <url>https://keeping.hatenablog.jp/entry/2017/09/19/012400</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
