Skip to content
This repository has been archived by the owner on Mar 26, 2021. It is now read-only.

Commit

Permalink
Adds a demonstration GIF
Browse files Browse the repository at this point in the history
  • Loading branch information
mbbischoff committed Mar 28, 2015
1 parent 5157b48 commit fd910ff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Binary file added Images/photo_viewer.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

NYTPhotoViewer is a slideshow and image viewer that includes double tap to zoom, captions, support for multiple images, interactive flick to dismiss, animated zooming presentation, and more.

## Demo

![Demo GIF](Images/photo_viewer.gif)

## Implementation

NYTPhotoViewer has a very standard implementation using built-in frameworks. The viewer is a `UIViewController` and uses `UIViewController` transitioning APIs for the animated and interactive transitions, a `UIPageViewController` for horizontal swiping between images, and `UIScrollView` for image zooming. It is intended to be used without the need for subclassing, and as such it accepts model objects conforming to a `NYTPhoto` protocol and provides ample opportunity for customization via the `NYTPhotosViewControllerDelegate`. Since standard APIs are used, the client has full control over the transitions and customization of the `NYTPhotosViewController`.
Expand Down

0 comments on commit fd910ff

Please sign in to comment.