exp

EXPhotoViewer

A drop-in full screen photo viewer for iOS with zoom, SUPER easy to use, JUST ONE LINE OF CODE. It has the "zoom the rest of the app away effect" It works with any UIImageView, just laying around, in a table, in a cell in a custom made carousel, everywhere! Whats the "EX" for? it is for **EX**TRA AWESOME!!!

Showing:

Popularity

Downloads/wk

0

GitHub Stars

227

Maintenance

Last Commit

7yrs ago

Contributors

2

Package

Dependencies

0

License

MIT

Categories

Readme

EXPhotoViewer

A "drop in" photo viewer for iOS, SUPER easy to use, it has the "zoom the rest of the app away effect" It works with any UIImageView, just laying around, in a table, in a cell in a custom made carousel, everywhere!

Whats the "EX" for? it is for EXTRA AWESOME!!!

image

##What it does It will take the image and:

  • animate it from the current position to the center of the screen to a "fit" position where all the image can be seen, if the image is not big enought to cover the screen it will just center (look at the iPad screens for more detail)
  • The background will dim a little.
  • The rest of the app will back away a little.
  • The full screen image can be zoomed in and out and can be scrolled in any direction if zoomed enought.
  • To exit the full screen mode just tap anywhere.

Usage

Import "EXPhotoViewer.h"

Then if for example "anImageView" contains the image you would like to show, just do:

[EXPhotoViewer showImageFrom:anImageView];

and Voila! the rest is just MAGIC! (actually just a bunch of code)

look at ThumbCollectionCell.m line 15 if you would like to see an usage example.

##Installation Just include the followings files to your project: EXPhotoViewer

EXPhotoViewer.h
EXPhotoViewer.m
EXPhotoViewer.xib

And you are done, no library or framework or weird hacky compiler flag or anything.

##Screenshots

iPhone

image image image image

##LICENSE Simple MIT license, look at the LICENSE file for more details

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100