<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>develop-imonari</author_name>
  <author_url>https://blog.hatena.ne.jp/develop-imonari/</author_url>
  <blog_title>いもなり開発のブログ</blog_title>
  <blog_url>https://develop-imonari.hatenablog.com/</blog_url>
  <categories>
    <anon>swift</anon>
  </categories>
  <description>概要 UIViewを使って破線を表現します。 作成した破線レイヤーをサブレイヤーとして追加します。 開発環境 Mac OS 13.1 Xcode 14.0 func drawDottedLine(view: UIView) { // CAShapeLayerのオブジェクトのインスタンスを取得します。 let sharpeLayer: CAShapeLayer = CAShapeLayer() // 波線に色を付けます。 sharpeLayer.strokeColor = UIColor.lightGray.cgColor // 厚さを設定します。 sharpeLayer.lineWidth =…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdevelop-imonari.hatenablog.com%2Fentry%2F20230105%2F1672903474&quot; title=&quot;【swift】UIViewを使って破線を表示する。 - いもなり開発のブログ&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/d/develop-imonari/20230105/20230105162655.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-01-05 16:24:34</published>
  <title>【swift】UIViewを使って破線を表示する。</title>
  <type>rich</type>
  <url>https://develop-imonari.hatenablog.com/entry/20230105/1672903474</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
