Coder Social home page Coder Social logo

photoviewer's Introduction

PhotoViewer

一个用于进行图片展示的项目,模仿了微信朋友圈的显示效果,点击退出展示,双击放大缩小,有多个图片的时候支持分页滑动查看。支持传入图片对象或者图片地址。

内部实现上使用SDWebImage来进行图片的缓存处理。同时在加载的时候,使用DACircularProgress绘制加载的进度。

使用方法 申明一个类,实现 实现方法
-(NSInteger)numbersOfPhotos;
-(PhotoItem *)photoItemForIndex:(NSInteger)index;

调用代码
PhotoViewer *viewer = [PhotoViewer ViewerInWindow];
viewer.datasource = self;

photoviewer's People

Contributors

xzysun avatar

Stargazers

 avatar

Watchers

 avatar

photoviewer's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.