图片轮播框架 XRCarouselView
- 授权协议: MIT
- 开发语言: Objective-C
- 操作系统: iOS
- 软件首页: https://github.com/codingZero/XRCarouselView
- 软件文档: https://github.com/codingZero/XRCarouselView
- 官方下载: https://github.com/codingZero/XRCarouselView.git
软件介绍
XRCarouselView是一款超简单好用的图片轮播框架,仅仅两个imageView实现图片轮播。
XRCarouselView的优点
文件少,代码简洁
不依赖任何其他第三方库,耦合度低
同时支持本地图片及网络图片
可修改分页控件位置,显示或隐藏
自定义分页控件的图片,就是这么个性
自带图片缓存,一次加载,永久使用
性能好,占用内存少,轮播流畅
如何集成XRCarouselView
手动导入
将XRCarouselView文件夹中的所有文件添加到项目中
cocoapods导入
pod 'XRCarouselView'
使用
导入主头文件 XRCarouselView.h
创建XRCarouselView,设置图片(路径)数组
将XRCarouselView添加到要展示到view上面
XRCarouselView的常用属性方法
imageArray:要轮播的图片数组,可传本地图片或网络图片路径
time:设置每页的停留时间
pageContolPosition:设置分页控件的位置
pageControlHidden:隐藏分页控件
setPageImageView:andCurrentImage::设置分页控件的图片
void(^imageClickBlock)(NSInteger index):图片被点击后要执行的代码
效果演示
Practical Algorithms for Programmers
Andrew Binstock、John Rex / Addison-Wesley Professional / 1995-06-29 / USD 39.99
Most algorithm books today are either academic textbooks or rehashes of the same tired set of algorithms. Practical Algorithms for Programmers is the first book to give complete code implementations o......一起来看看 《Practical Algorithms for Programmers》 这本书的介绍吧!

