Inherits from GMGridViewCell
Conforms to YLCacheDelegate
Declared in YLThumbnailCell.h
YLThumbnailCell.m

Overview

Thumbnail cell used in the grid view to display pdf page thumbnails.

Tasks

Other Methods

  •   document

    A reference to the document.

    property
  •   page

    Page number of the thumbnail.

    property

Other Methods

Properties

document

A reference to the document.

@property (nonatomic, retain) YLDocument *document

Discussion

A reference to the document.

Declared In

YLThumbnailCell.h

page

Page number of the thumbnail.

@property (nonatomic, assign) NSUInteger page

Discussion

Page number of the thumbnail.

Declared In

YLThumbnailCell.h

Instance Methods

didCacheDocument:page:size:image:

Called when YLCache rendered a PDF page into an image.

- (void)didCacheDocument:(YLDocument *)document page:(NSUInteger)page size:(YLPDFImageSize)size image:(UIImage *)image

Parameters

document

Reference to the document.

page

Page number starting from 0.

size

Size of the rendered image.

image

Rendered image of the PDF page.

Discussion

Called when YLCache rendered a PDF page into an image.

Declared In

YLCache.h