<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>macneko-ayu</author_name>
  <author_url>https://blog.hatena.ne.jp/macneko-ayu/</author_url>
  <blog_title>ごんれのラボ</blog_title>
  <blog_url>https://blog.macneko.com/</blog_url>
  <categories>
    <anon>Swift</anon>
    <anon>NSAttributedString</anon>
  </categories>
  <description>概要 実現方法 Playground おまけ 参考 元ネタ 個人的に毎度読むスライド 概要 Swiftで袋文字を実現したいという話を聞いて、調べたら実現方法がさっくり見つかったので残しておくことにした。 実現方法 UILabel の extension を定義して、そのメソッドを使うだけ。 参考記事のままだとエラーになるのでよしなに修正してある。 extension UILabel{ /// makeOutLine /// /// - Parameters: /// - strokeWidth: 線の太さ。負数 /// - oulineColor: 線の色 /// - foregroundCo…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.macneko.com%2Fentry%2Fapply-outline-to-uilabel&quot; title=&quot;Swiftで文字列の輪郭に線をつける - ごんれのラボ&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://user-images.githubusercontent.com/5406126/52771418-2f0bf680-3079-11e9-83d8-f89dc625dce0.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-02-14 19:00:00</published>
  <title>Swiftで文字列の輪郭に線をつける</title>
  <type>rich</type>
  <url>https://blog.macneko.com/entry/apply-outline-to-uilabel</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
