仿新浪动感图片浏览器 SDPhotoBrowser

码农软件 · 软件分类 · 图像(Image) · 2019-05-30 10:42:30

软件介绍

SDPhotoBrowser

非常简单易用的图片浏览器,模仿微博图片浏览器动感效果,综合了图片展示和存储等多项功能。
(下载地址:https://github.com/gsdios/SDPhotoBrowser.git)

  1. 创建SDPhotoBrowser实例


  2. SDPhotoBrowser *browser = [[SDPhotoBrowser alloc] init];


  3. browser.sourceImagesContainerView = 原图的父控件;


  4. browser.imageCount = 原图的数量;


  5. browser.currentImageIndex = 当前需要展示图片的index;


  6. browser.delegate = 代理;


  7. [browser show]; // 展示图片浏览器


2.实现代理方法
// 返回临时占位图片(即原来的小图)

  • (UIImage *)photoBrowser:(SDPhotoBrowser *)browser placeholderImageForIndex:(NSInteger)index { ; }

// 返回高质量图片的url

  • (NSURL *)photoBrowser:(SDPhotoBrowser *)browser highQualityImageURLForIndex:(NSInteger)index { ; }


本文地址:https://www.codercto.com/soft/d/6863.html

Distributed Algorithms: An Intuitive Approach

Distributed Algorithms: An Intuitive Approach

Wan Fokkink / MIT Press / 2018-2-2 / USD 48.00

The new edition of a guide to distributed algorithms that emphasizes examples and exercises rather than the intricacies of mathematical models. This book offers students and researchers a guide to ......一起来看看 《Distributed Algorithms: An Intuitive Approach》 这本书的介绍吧!

SHA 加密
SHA 加密

SHA 加密工具

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具

HEX HSV 转换工具
HEX HSV 转换工具

HEX HSV 互换工具