<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ayumu-nishimura</author_name>
  <author_url>https://blog.hatena.ne.jp/ayumu-nishimura/</author_url>
  <blog_title>Yappli Tech Blog</blog_title>
  <blog_url>https://tech.yappli.io/</blog_url>
  <categories>
    <anon>iOS</anon>
  </categories>
  <description>こんにちは、iOSエンジニアの西村です。 皆さんは、一度addSubviewで追加されたViewを、別のViewに再度addSubviewすると、そのViewが入れ替わる仕組みをご存知でしょうか？ドキュメントにも記載があるのでご存じの方はいらっしゃるかと思います。 addSubview(_:) | Apple Developer Documentation Views can have only one superview. If view already has a superview and that view is not the receiver, this method remove…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.yappli.io%2Fentry%2Fmultiple-addsublayer&quot; title=&quot;2回目の addSublayer - Yappli Tech Blog&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/a/ayumu-nishimura/20241225/20241225164358.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-12-26 11:57:16</published>
  <title>2回目の addSublayer</title>
  <type>rich</type>
  <url>https://tech.yappli.io/entry/multiple-addsublayer</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
