title: How can i execlude subview from parent clip in UIKit?
body: <p>In my iOS App, i am using CalendarKit, a Framework to create a full-featured Calendar. I want to modify the EventView to add rounded corners. To do that, i configure the EventView Class like this:</p>
  <pre class="lang-swift prettyprint-override"><code>private func configure() {
      clipsToBounds = true
      color = tintColor
      addSubview(textView)
      
      for (idx, handle) in eventResizeHandles.enumerated() {
        handle.tag = idx
        addSubview(handle)
      }
    }
  </code></pre>
  <p>and i set the following properties to the view:</p>
  <pre class="lang-swift prettyprint-override"><code>layer.cornerRadius = 6
  </code></pre>
  <p>it works but now, the rounded dots for editing/moving are clipped:</p>
  <p><a href="https://i.stack.imgur.com/Ivl8g.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Ivl8g.png" alt="enter image description here" /></a></p>
  <p>What can i do, to unclip the dots from parent view? Any ideas? I already tried to set <code>zPosition</code> but it doesn't work.</p>
  <p>Note: The full EventView Class can be found here: <a href="https://github.com/richardtop/CalendarKit/blob/0235dab6e9ca190a380868224d0e8fb149e6009a/Source/Timeline/EventView.swift" rel="nofollow noreferrer">https://github.com/richardtop/CalendarKit/blob/0235dab6e9ca190a380868224d0e8fb149e6009a/Source/Timeline/EventView.swift</a></p>