- 授权协议: MIT
- 开发语言: Objective-C
- 操作系统: iOS
- 软件首页: https://github.com/gsdios/SDPhotoBrowser
- 软件文档: https://github.com/gsdios/SDPhotoBrowser
软件介绍
SDPhotoBrowser
非常简单易用的图片浏览器,模仿微博图片浏览器动感效果,综合了图片展示和存储等多项功能。
(下载地址:https://github.com/gsdios/SDPhotoBrowser.git)
-
创建SDPhotoBrowser实例
-
SDPhotoBrowser *browser = [[SDPhotoBrowser alloc] init];
-
browser.sourceImagesContainerView = 原图的父控件;
-
browser.imageCount = 原图的数量;
-
browser.currentImageIndex = 当前需要展示图片的index;
-
browser.delegate = 代理;
-
[browser show]; // 展示图片浏览器
2.实现代理方法
// 返回临时占位图片(即原来的小图)
-
(UIImage *)photoBrowser:(SDPhotoBrowser *)browser placeholderImageForIndex:(NSInteger)index { ; }
// 返回高质量图片的url
-
(NSURL *)photoBrowser:(SDPhotoBrowser *)browser highQualityImageURLForIndex:(NSInteger)index { ; }
Head Rush Ajax
Brett McLaughlin、Eric Freeman、Elisabeth Freeman / O'Reilly Media, Inc. / 2006-03-01 / USD 34.99
Ajax, or Asynchronous JavaScript and XML, is a term describing the latest rage in web development. Ajax is used to create interactive web applications with XML-based web services, and using JavaScript......一起来看看 《Head Rush Ajax》 这本书的介绍吧!
