<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>fn7</author_name>
  <author_url>https://blog.hatena.ne.jp/fn7/</author_url>
  <blog_title>fn7の日記</blog_title>
  <blog_url>https://fn7.hatenadiary.org/</blog_url>
  <categories>
    <anon>勉強</anon>
    <anon>プログラミング</anon>
    <anon>Objective-C</anon>
  </categories>
  <description>CSS3で角丸が作れるんだからできるはずということで方法を探してみるとあった。しかもめちゃ簡単。 CoraAnimationを使ってUIViewからデフォルトのCALayerを取りだして角丸にしてしまう。 まずはフレームワークQuartzCoreを有効にしておく。(フレームワークの追加とのimport)表示されているUIViewのインスタンスviewInstanceがあるとすると、 CALayer *layer = viewInstance.layer; layer.masksToBounds = YES; layer.cornerRadius = 20.0f; これだけ。角丸画像する時も超簡…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffn7.hatenadiary.org%2Fentry%2F20100422%2F1271898094&quot; title=&quot; マスク画像なしで角丸矩形を作る方法 - fn7の日記&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/f/fn7/20100422/20100422095230.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2010-04-22 10:01:34</published>
  <title> マスク画像なしで角丸矩形を作る方法</title>
  <type>rich</type>
  <url>https://fn7.hatenadiary.org/entry/20100422/1271898094</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
