ViewController
class ViewController : NUViewController
extension ViewController: NUGestureRecognizerDelegate
This ViewController demonstrates the use of BiPlatform constrainers and gesture recognizers
-
Used by func handlePan(recognizer:)
Declaration
Swift
var lastPanLocation: CGPoint -
Undocumented
Declaration
Swift
lazy var label0: NULabel { get set } -
Undocumented
Declaration
Swift
lazy var label1: NULabel { get set } -
Undocumented
Declaration
Swift
lazy var label2: NULabel { get set } -
Undocumented
Declaration
Swift
lazy var label3: NULabel { get set } -
Undocumented
Declaration
Swift
lazy var label4: NULabel { get set } -
Undocumented
Declaration
Swift
lazy var label5: NULabel { get set } -
Undocumented
Declaration
Swift
lazy var label6: NULabel { get set } -
Undocumented
Declaration
Swift
override func viewDidLoad()
-
Both gesture recognizers shall recognize the event
Declaration
Swift
func gestureRecognizer(_: NUGestureRecognizer, shouldRecognizeSimultaneouslyWith _: NUGestureRecognizer) -> BoolParameters
_other NUGestureRecognizer
_other NUGestureRecognizer
Return Value
true
-
Handles tap or click gesture
Declaration
Swift
@objc func handleTapClick(recognizer: NUTapClickGestureRecognizer)Parameters
recognizerNUTapClickGestureRecognizer
-
Handles pan gesture
Declaration
Swift
@objc func handlePan(recognizer: NUPanGestureRecognizer)Parameters
recognizerNUPanGestureRecognizer
ViewController Class Reference