<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>makoto1212</author_name>
  <author_url>https://blog.hatena.ne.jp/makoto1212/</author_url>
  <blog_title>明日も楽をするために</blog_title>
  <blog_url>https://makoto1212.hatenablog.com/</blog_url>
  <categories>
    <anon>swift2.0</anon>
  </categories>
  <description>今回はUILabelとUITextViewを使用した場合にUITableViewCellの高さを自動で可変する方法を書きます。UITableViewは予め設定し終わった状態と過程して話を進めます。StoryBoard上の設定は以下のようにmarginをセットしてます。 画像はUILabelですが、UITextViewも同じようにします。 UILabelを使用するときは設定でLinesを0にしてください。 UITextViewを使用するときは設定でScrolling Enabledのチェックを外してください。 そして以下のコードを追記します。 func tableView(tableView: …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmakoto1212.hatenablog.com%2Fentry%2F2016%2F03%2F09%2F215247&quot; title=&quot;UITableViewでUITableViewCellの高さを自動で可変する - 明日も楽をするために&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-ak.f.st-hatena.com/images/fotolife/m/makoto1212/20160309/20160309213400.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-03-09 21:52:47</published>
  <title>UITableViewでUITableViewCellの高さを自動で可変する</title>
  <type>rich</type>
  <url>https://makoto1212.hatenablog.com/entry/2016/03/09/215247</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
