Skip to content

dkalaitzidis/UIView-TapGesture-With-Closures-Swift

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

UIView-TapGesture-With-Closures-Swift

Adding Gesture Recognizers with Closures Instead of Selectors

Usage

Drag & drop the Extension-UIView.swift file to your project.

Tap Gesture in a closure

sampleView.addTapGestureRecognizer {
    print("view tapped")
}

About

Adding Gesture Recognizers with Closures Instead of Selectors

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages