仿新浪动感图片浏览器 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

Domain-Driven Design Distilled

Domain-Driven Design Distilled

Vaughn Vernon / Addison-Wesley Professional / 2016-6-2 / USD 36.99

Domain-Driven Design (DDD) software modeling delivers powerful results in practice, not just in theory, which is why developers worldwide are rapidly moving to adopt it. Now, for the first time, there......一起来看看 《Domain-Driven Design Distilled》 这本书的介绍吧!

图片转BASE64编码
图片转BASE64编码

在线图片转Base64编码工具

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

HEX HSV 互换工具

HSV CMYK 转换工具
HSV CMYK 转换工具

HSV CMYK互换工具