Skip to content

Instantly share code, notes, and snippets.

@siberian1967
siberian1967 / UIView+PassThrough.swift
Last active January 4, 2017 21:07 — forked from maxcampolo/UIView+PassThrough.swift
UIView subclass that is transparent to all touch events besides those on eligible child views.
import UIKit
/**
UIView subclass that is transparent to all touch events besides those on eligible child views.
*/
class TKPassThroughView: UIView {
// MARK - Touch Handling
@siberian1967
siberian1967 / UIView+PassThrough.swift
Created January 4, 2017 21:04 — forked from maxcampolo/UIView+PassThrough.swift
UIView subclass that is transparent to all touch events besides those on eligible child views.
import UIKit
/**
UIView subclass that is transparent to all touch events besides those on eligible child views.
*/
class TKPassThroughView: UIView {
// MARK - Touch Handling