Skip to content

Instantly share code, notes, and snippets.

import UIKit
class TouchForwardingView: UIView {
var passthroughViews: [UIView] = []
override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
guard let hitView = super.hitTest(point, with: event) else { return nil }
guard hitView == self else { return hitView }
@andreyz
andreyz / about.md
Created August 10, 2011 19:57 — forked from jasonrudolph/about.md
Programming Achievements: How to Level Up as a Developer