TouchableView
所属分类:编程语言基础
开发工具:Swift
文件大小:665KB
下载次数:0
上传日期:2021-09-09 05:37:22
上 传 者:
sh-1993
说明: 使任何UIView可点击+令人惊叹的新闻效果!
(Make any UIView tappable + Awesome press effect!)
文件列表:
Demo Project.zip (222537, 2021-09-09)
TouchableView.swift (2906, 2021-09-09)
preview.gif (538474, 2021-09-09)
screenhot1.png (31888, 2021-09-09)
screenhot2.png (31406, 2021-09-09)
# TouchableView
Make any UIView element tappable + Awesome press effect!
![hippo](https://github.com/HappyIosDeveloper/TouchableView/blob/main/preview.gif)
How to use:
Just copy & paste the TouchableView.swift class to your project & extend your view class from TouchableView.
![hippo](https://github.com/HappyIosDeveloper/TouchableView/blob/main/screenhot1.png)
This is enogh to make your view show the tapp effect.
to define an action to that view, simply do it like below:
![hippo](https://github.com/HappyIosDeveloper/TouchableView/blob/main/screenhot2.png)
@IBOutlet weak var yourView: TouchableView!
yourView.touchUpInside = {
// Do your action here
}
Cheers!
近期下载者:
相关文件:
收藏者: