We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4d08f1 commit 4c7bca4Copy full SHA for 4c7bca4
UIViewController-DisplayInDrawer/Classes/OutsideBoundsHittableView.swift
@@ -1,7 +1,7 @@
1
import UIKit
2
3
//inspired by https://stackoverflow.com/questions/11770743/capturing-touches-on-a-subview-outside-the-frame-of-its-superview-using-hittest
4
-class OutsideBoundsHittableView: UIView {
+final class OutsideBoundsHittableView: UIView {
5
override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
6
guard !clipsToBounds else { return super.hitTest(point, with: event) }
7
for subview in subviews.reversed() {
0 commit comments