doc
 All Classes Functions Variables Properties
Public Member Functions | Protected Attributes | Properties
EMPhotoView Class Reference

List of all members.

Public Member Functions

(void) - scrollToPhotoAtIndex:
(void) - reloadData
(BOOL) - rightImageLoaded
(void) - sizeAndPositionImage
(void) - sizeAndPositionLeftImage
(void) - sizeAndPositionRightImage
(void) - hideImage
(void) - hideSideImages
(void) - showSideImages
(void) - resetZoom
(void) - slideLeft:
(void) - slideRight:
(void) - animateLeft
(void) - animateRight
(void) - animateReset
(void) - cancelImage
(void) - cancelLeftImage
(void) - cancelRightImage
(void) - setImage:forIndex:

Protected Attributes

id< TTPhotoSource > _photoSource
NSInteger scrollToIndex
CGFloat scrollAnimateDuration
EMLoadingImageViewimageView
EMLoadingImageViewrightImageView
EMLoadingImageViewleftImageView
CGPoint mLastTouchLocation
CGFloat mLastTouchSpacing
int deltaX
BOOL slided
id animateTarget
SEL animateSelector
int slideDx
int slideDy
int touchCount
NSTimer * doubleClickTimer
CGFloat zoomRatio
CGPoint _center
BOOL sideImagesHidden
CGFloat lastWidth
CGFloat lastHeight
UIEdgeInsets contentInset

Properties

NSInteger currentIndex
id< TTPhotoSource > photoSource
id< EMPhotoViewDelegatedelegate
BOOL zoomEnabled
BOOL rotationEnabled
CGFloat doubleTapZoomRatio
CGFloat maxZoomRatio
NSUInteger imageGap
UIActivityIndicatorViewStyle indicatorStyle
UIImage * currentImage
UIInterfaceOrientation currentOrientation
BOOL animating
BOOL scrolling

Member Function Documentation

- (void) scrollToPhotoAtIndex: (NSInteger)  index

Controlling the Photo View Animated index assignment


Property Documentation

- (UIImage *) currentImage [read, assign]

Accessing Photo View properties

- (NSInteger) currentIndex [read, write, assign]

Non-animated index assignment

- (UIInterfaceOrientation) currentOrientation [read, write, assign]

Miscellaneous

- (CGFloat) doubleTapZoomRatio [read, write, assign]

Default = 2.0.

- (NSUInteger) imageGap [read, write, assign]

Default = 50.

- (UIActivityIndicatorViewStyle) indicatorStyle [read, write, assign]

The style of the activity indicator to display when loading images. Default = UIActivityIndicatorViewStyleWhiteLarge.

- (CGFloat) maxZoomRatio [read, write, assign]

Default = 2.5.

- (id<TTPhotoSource>) photoSource [read, write, assign]

Managing the Delegate and Data Source

- (BOOL) rotationEnabled [read, write, assign]

Default = YES.

- (BOOL) zoomEnabled [read, write, assign]

Configuring the Photo View Default = YES.


The documentation for this class was generated from the following files: