自定义UITabbar
效果类似于网易新闻,使用CAAnimation实现push,pop动画,支持全屏右滑pop。
通过使用Quarz2D,封装的手势解锁。
自定义UISlider,翻页时显示页数,翻页进度,点击slider滑块快速翻页
自定义下拉刷新
swift版自定义分段控件,能够很好地支持自已每一项的内容
在画板上可调节画笔的粗细和颜色!还可添加照片!功能实用!代码简单!
可以根据自己的意愿随意更换图片
做过web开发的都知道,有单选,和多选。然而在iOS系统控件中,并没有这两款控件,于是自定义一个控件,可以设置单选还是多选。纯swift语言,欢迎建议。
自定义弹出窗口