UIView-TapListnerCallback
Example
To run the example project, clone the repo, and run pod install
from the Example directory first.
Installation
UIView-TapListnerCallback is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'UIView-TapListnerCallback'
Usage
import UIView_TapListnerCallback
Make any UIView Actionable
// A simple and easy method to add gesturerecognizer to any view (UIView,UIImageView,UILable...)
mLable.TapLisner{
print("lable clicked")
}
mImageView.TapLisner{
print("imageView clicked")
}
mView.TapLisner{
print("view clicked")
}
mButton.TapLisner{
print("Button clicked")
}
Author
wajeehulhassan, [email protected]
License
UIView-TapListnerCallback is available under the MIT license. See the LICENSE file for more info.