long press improve
This commit is contained in:
parent
9881feb39b
commit
c1d4c5f5dc
@ -54,9 +54,11 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UISplitViewControllerDele
|
||||
return true
|
||||
}
|
||||
|
||||
@objc func pasteAndGo() {
|
||||
(dvc as? DetailViewController)?.textView.text = UIPasteboard.general.string
|
||||
(dvc as? DetailViewController)?.play()
|
||||
@objc func pasteAndGo(_ sender: UILongPressGestureRecognizer) {
|
||||
if sender.state == .ended {
|
||||
(dvc as? DetailViewController)?.textView.text = UIPasteboard.general.string
|
||||
(dvc as? DetailViewController)?.play()
|
||||
}
|
||||
}
|
||||
|
||||
func applicationWillResignActive(_ application: UIApplication) {
|
||||
|
||||
@ -1 +1 @@
|
||||
"moleculeName":"barsPager"
|
||||
"moleculeName":"barsCarouselIndicator"
|
||||
|
||||
@ -25,6 +25,9 @@
|
||||
"molecule":{
|
||||
"moleculeName" : "carousel",
|
||||
"loop":true,
|
||||
"pagingMolecule": {
|
||||
"moleculeName":"barsCarouselIndicator"
|
||||
},
|
||||
"molecules" : [
|
||||
{
|
||||
"moleculeName" : "carouselItem",
|
||||
@ -47,7 +50,7 @@
|
||||
"backgroundColor":"green",
|
||||
"molecule" : {
|
||||
"moleculeName" : "label",
|
||||
"text" : "2"
|
||||
"text" : "3"
|
||||
}
|
||||
}
|
||||
],
|
||||
|
||||
Loading…
Reference in New Issue
Block a user