<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>llcc</author_name>
  <author_url>https://blog.hatena.ne.jp/llcc/</author_url>
  <blog_title>しめ鯖日記</blog_title>
  <blog_url>https://llcc.hatenablog.com/</blog_url>
  <categories>
    <anon>iOS</anon>
  </categories>
  <description>UIViewのdrawメソッド中では線・文字・矩形など様々なものを描画できます。 今回はそれらの描画を試してみました。 検証用コードは下の通りです。 import UIKit class ViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() let myView = MyView(frame: view.bounds) myView.backgroundColor = UIColor.white view.addSubview(myView) } } class MyView: …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fllcc.hatenablog.com%2Fentry%2F2017%2F05%2F04%2F001356&quot; title=&quot;【Swift3】UIViewのdrawの中で線や文字や画像を描画する - しめ鯖日記&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/llcc/20170503/20170503235019.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-05-04 00:13:56</published>
  <title>【Swift3】UIViewのdrawの中で線や文字や画像を描画する</title>
  <type>rich</type>
  <url>https://llcc.hatenablog.com/entry/2017/05/04/001356</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
