Inherits from IGGridViewCell : IGGridViewCellBase : UIView
Conforms to UIScrollViewDelegate
Declared in IGGridViewCell.h

Overview

IGGridViewImageCell is a cell that can be used for displaying images. It has an optional feature for zooming, where you can you pinch to zoom on an image, and double tap to zoom or unzoom. You can set the image to be displayed by using the imageView property, as well as change how the image should be displayed such as using it’s contentMode property. To control zoom level features you can use the scrollView property. This cell like IGGridViewCell supports selection.

Tasks

Display

  •   scrollView

    The UIScrollView used for zooming.

    property
  •   imageView

    The main display element of this cell. Displays an image.

    property
  •   textPadding

    The ammount of space between the text field and the imageview

    property

Features

Properties

enableZooming

Sets whether zooming allowed on the image.

@property (nonatomic, assign) BOOL enableZooming

Discussion

This property controls whether a built in zooming mechanism for this cell is turned on. When set to YES you can pinch to zoom, and double tap zoom or unzoom the image cell. When the cell leaves view, the zooming will be rest automatically.

Declared In

IGGridViewCell.h

imageView

The main display element of this cell. Displays an image.

@property (nonatomic, readonly, retain) UIImageView *imageView

Discussion

You can use this property to change styling options such as contentMode.

Declared In

IGGridViewCell.h

scrollView

The UIScrollView used for zooming.

@property (nonatomic, readonly, retain) UIScrollView *scrollView

Discussion

The imageView for this cell is wrapped in a scroll view. You can use this property to change any zoom features such as maximumZoomScale and minimumZoomScale.

Declared In

IGGridViewCell.h

textPadding

The ammount of space between the text field and the imageview

@property (nonatomic, assign) CGFloat textPadding

Declared In

IGGridViewCell.h