Demo entry 6325022

NewGesture

   

Submitted by anonymous on Nov 21, 2016 at 15:25
Language: Swift. Code size: 624 Bytes.

import Foundation
import UIKit.UIGestureRecognizerSubclass

class NewGesture: UIGestureRecognizer{

     override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent){
          //code     
     }

     override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent){
          //code     
     }

     override func touchesMoved(_ touches: Set<UITouch>, with event: UIEvent){
          //code     
     }

     override func touchesCancelled(_ touches: Set<UITouch>, with event: UIEvent){
          //code     
     }

     override func reset(){
          //code     
     }

}

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).