无限轮播条 swift版 CarouselBannerView
- 授权协议: GPL
- 开发语言: Swift
- 操作系统: iOS
- 软件首页: https://github.com/cheniOS/CarouselBannerView
- 软件文档: https://github.com/cheniOS/CarouselBannerView/blob/master/README.md
软件介绍
用swift编写的轮播条,需要在controller 里实现三个协议
func scrollView(toScrollView scrollView: CarouselBannerView, andImageAtIndex index: NSInteger, forImageView imageView: UIImageView) {
imageView.kf_setImageWithURL(NSURL(string: imageSource.objectAtIndex(index) as! String)!, placeholderImage: UIImage.init(named: "banner_bgImage")) //通过网络图片地址显示图片
}
func numberOfImageInScrollView(toScrollView scrollView: CarouselBannerView) -> Int {
return imageSource.count //图片个数
}
func scrollView ( toScrollView scrollView : CarouselBannerView, didTappedImageAtIndex index : NSInteger){
print("点击\(index)") //图片点击事件
}
Python基础教程
[挪] Magnus Lie Hetland / 袁国忠 / 人民邮电出版 / 2018-2-1 / CNY 99.00
本书包括Python程序设计的方方面面:首先从Python的安装开始,随后介绍了Python的基础知识和基本概念,包括列表、元组、字符串、字典以及各种语句;然后循序渐进地介绍了一些相对高级的主题,包括抽象、异常、魔法方法、属性、迭代器;此后探讨了如何将Python与数据库、网络、C语言等工具结合使用,从而发挥出Python的强大功能,同时介绍了Python程序测试、打包、发布等知识;最后,作者结合......一起来看看 《Python基础教程》 这本书的介绍吧!
