- 授权协议: GPL
- 开发语言: Objective-C
- 操作系统: iOS
- 软件首页: https://github.com/gsdios/SDCycleScrollView
软件介绍
SDCycleScrollView(新建QQ交流群:185534916)
☆☆☆ “iOS第一轮播图” ☆☆☆
github持续更新地址:https://github.com/gsdios/SDCycleScrollView
更改记录:
2016.01.21 -- 修复加载时出现item size zero提示问题
2016.01.15 -- 兼容assets存放的本地图片
2016.01.06 -- 0.图片管理使用SDWebImage;1.优化内存,提升性能;2.添加图片contentmode接口;3.block监听点击接口;4.滚动到某张图片监听;5.增加自定义图片pageControl接口;6.其他等等。其中有一处接口改动:pagecontrol的小圆点自定义接口改为:currentPageDotColor、pageDotColor、currentPageDotImage、pageDotImage。
无限循环自动图片轮播器(一步设置即可使用)
// 网络加载图片的轮播器 cycleScrollView.imageURLStringsGroup = imagesURLStrings; // 本地加载图片的轮播器 SDCycleScrollView *cycleScrollView = [SDCycleScrollView cycleScrollViewWithFrame: imagesGroup:图片数组];
??? 为什么我用这个轮播期会在顶部出现一块空白区域
以下是本库的使用者给出的一些解决方法放在这里供大家参考: 在iOS 7以后,controller 会对其中唯一的scrollView或其子类调整内边距,从而导致位置不准确。设置self.automaticallyAdjustsScrollViewInsets = NO;或者controller中放置不止一个scrollView或其子类时,就不会出现这种问题。以上原因是我的猜测,只要我设置了 self.automaticallyAdjustsScrollViewInsets = NO就没有那个问题了。
PS:
现已支持cocoapods导入:pod 'SDCycleScrollView','~> 1.3'
如需更详细的设置,参考如下:
-
cycleScrollView.pageControlAliment = SDCycleScrollViewPageContolAlimentRight; // 设置pageControl居右,默认居中
-
cycleScrollView.titlesGroup = 标题数组(数组元素个数必须和图片数组元素个数保持一致); // 如果设置title数组,则会在图片下面添加标题
-
cycleScrollView.delegate = ; // 如需监听图片点击,请设置代理,实现代理方法
-
cycleScrollView.autoScrollTimeInterval = ;// 自定义轮播时间间隔
Twenty Lectures on Algorithmic Game Theory
Tim Roughgarden / Cambridge University Press / 2016-8-31 / USD 34.99
Computer science and economics have engaged in a lively interaction over the past fifteen years, resulting in the new field of algorithmic game theory. Many problems that are central to modern compute......一起来看看 《Twenty Lectures on Algorithmic Game Theory》 这本书的介绍吧!
