YLPagesViewController Class Reference
Inherits from | UIPageViewController |
Conforms to | UIGestureRecognizerDelegate UIPageViewControllerDataSource UIPageViewControllerDelegate |
Declared in | YLPagesViewController.h YLPagesViewController.m |
Overview
This is the view controller that manages page swipes and also supplies the view controllers requested by the UIPageViewControllerDataSource protocol.
Tasks
Other Methods
-
page
Current page number (zero based).
property -
documentLead
Document lead of the parent YLPDFViewController instance.
property
Initialization
-
– initWithPDFController:
Initializes a YLPagesViewController instance and returns it to the caller.
-
– showPage:animated:
Used to navigate to a specific page.
Properties
documentLead
Document lead of the parent YLPDFViewController instance.
@property (nonatomic, assign) YLDocumentLead documentLead
Discussion
Document lead of the parent YLPDFViewController instance.
Declared In
YLPagesViewController.h
Instance Methods
initWithPDFController:
Initializes a YLPagesViewController instance and returns it to the caller.
- (id)initWithPDFController:(YLPDFViewController *)controller
Parameters
- controller
Reference to the parent YLPDFViewController instance.
Return Value
An initialized YLPagesViewController instance.
Discussion
Initializes a YLPagesViewController instance and returns it to the caller.
Declared In
YLPagesViewController.h