YLOperation Class Reference
Inherits from | NSOperation |
Declared in | YLOperation.h YLOperation.m |
Overview
This is the base class for all operations used by YLCache to load/render/write pre-rendered images.
Tasks
Other Methods
-
document
Reference to the document.
property -
page
Page number starting from 0.
property -
size
Type of the image.
property -
path
Reference to the path of the image.
property -
image
Reference to the image.
property
Initialization
-
– initWithDocument:page:size:path:
Initializes a YLOperation instance and returns it to the caller.
Properties
document
Reference to the document.
@property (nonatomic, readonly) YLDocument *document
Discussion
Reference to the document.
Declared In
YLOperation.h
image
Reference to the image.
@property (nonatomic, retain) UIImage *image
Discussion
Reference to the image.
Declared In
YLOperation.h
page
Page number starting from 0.
@property (nonatomic, readonly) NSUInteger page
Discussion
Page number starting from 0.
Declared In
YLOperation.h
Instance Methods
initWithDocument:page:size:path:
Initializes a YLOperation instance and returns it to the caller.
- (id)initWithDocument:(YLDocument *)document page:(NSUInteger)page size:(YLPDFImageSize)size path:(NSString *)path
Parameters
- document
Reference to the document.
- page
Page number starting from 0.
- size
Type of image.
Return Value
An initialized YLOperation instance.
Discussion
Initializes a YLOperation instance and returns it to the caller.
Declared In
YLOperation.h