From 623e8312f231d8acf187f588cee34a8d1dae8521 Mon Sep 17 00:00:00 2001 From: Scott Pfeil Date: Fri, 22 Oct 2021 11:28:18 -0400 Subject: [PATCH] name change --- JSONCreator_iOS/JSONCreator/AppDelegate.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/JSONCreator_iOS/JSONCreator/AppDelegate.swift b/JSONCreator_iOS/JSONCreator/AppDelegate.swift index 621d96d..66d847b 100644 --- a/JSONCreator_iOS/JSONCreator/AppDelegate.swift +++ b/JSONCreator_iOS/JSONCreator/AppDelegate.swift @@ -47,7 +47,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UISplitViewControllerDele splitViewController.delegate = self splitViewController.preferredDisplayMode = .allVisible - let gr = UILongPressGestureRecognizer(target: self, action: #selector(pasteAndGo)) + let gr = UILongPressGestureRecognizer(target: self, action: #selector(pasteAndPlay)) splitViewController.view.addGestureRecognizer(gr) NotificationCenter.default.addObserver(forName: UIViewController.showDetailTargetDidChangeNotification, object: splitViewController, queue: nil) { [weak self] (notification) in @@ -63,7 +63,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UISplitViewControllerDele return true } - @objc func pasteAndGo(_ sender: UILongPressGestureRecognizer) { + @objc func pasteAndPlay(_ sender: UILongPressGestureRecognizer) { if sender.state == .ended { (dvc as? DetailViewController)?.textView.text = UIPasteboard.general.string (dvc as? DetailViewController)?.play()