Titanium
Titanium copied to clipboard
View controller transition for image & photo previews
Titanium
Titanium is a library that provides a way to view full screen images from thumbnail previews.

Usage
The main class of Titanium is ESImageViewController. It uses a custom modal transition to present and dismiss itslef, as well as gesture recognizers to provide zooming capabilities.
Using Titanium to display an image is easy. Just follow these steps:
- Create a new instance of
ESImageViewController. - Set the
imageproperty. - Set the
tappedThumbnailproperty. This will be used to animate from the thumbnail into the full-screen imageView. - Present the instance.
For an example of how to use ESImageViewController with a storyboard segue, take a look at -[ESImageViewController prepareForSegue:sender:].