Rename to rossler\\attix
This commit is contained in:
16
App/Utilities/UIGestureRecognizer+Actions.swift
Normal file
16
App/Utilities/UIGestureRecognizer+Actions.swift
Normal file
@@ -0,0 +1,16 @@
|
||||
//
|
||||
// UIGestureRecognizer+Actions.swift
|
||||
// SBrowser
|
||||
//
|
||||
// Created by James Magahern on 7/31/20.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
||||
extension UIGestureRecognizer
|
||||
{
|
||||
convenience init(action: UIAction) {
|
||||
self.init(target: action, action: NSSelectorFromString("_performActionWithSender:"))
|
||||
objc_setAssociatedObject(self, "associatedUIAction", action, .OBJC_ASSOCIATION_RETAIN)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user