Skip to content

Instantly share code, notes, and snippets.

@siberian1967
siberian1967 / UIView+PassThrough.swift
Last active Jan 4, 2017 — forked from maxcampolo/UIView+PassThrough.swift
UIView subclass that is transparent to all touch events besides those on eligible child views.
View UIView+PassThrough.swift
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 Jan 4, 2017 — forked from maxcampolo/UIView+PassThrough.swift
UIView subclass that is transparent to all touch events besides those on eligible child views.
View UIView+PassThrough.swift
import UIKit
/**
UIView subclass that is transparent to all touch events besides those on eligible child views.
*/
class TKPassThroughView: UIView {
// MARK - Touch Handling