<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>letitride</author_name>
  <author_url>https://blog.hatena.ne.jp/letitride/</author_url>
  <blog_title>追憶行</blog_title>
  <blog_url>https://www.letitride.jp/</blog_url>
  <categories>
    <anon>テック</anon>
    <anon>テック-swift</anon>
  </categories>
  <description>リンク 名刺レイアウトのような縦書きにTextLabelを対応させたい時。 色々試した結果、TTTAttributedLabelというライブラリを利用するのが楽そう。 github.com podのインストール Podfileに pod 'TTTAttributedLabel' の後、 pod install すればよい。 実装例 以下のような実装で縦書きラベルが表示される。 import UIKit import TTTAttributedLabel class ViewController: UIViewController { var myLabel:TTTAttributedLabel…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.letitride.jp%2Fentry%2F2019%2F12%2F09%2F143946&quot; title=&quot;Swift TextLabelの縦書き表示とその編集 - 追憶行&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-ak.f.st-hatena.com/images/fotolife/l/letitride/20191209/20191209140952.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-12-09 14:39:46</published>
  <title>Swift TextLabelの縦書き表示とその編集</title>
  <type>rich</type>
  <url>https://www.letitride.jp/entry/2019/12/09/143946</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
