Inherits from UIViewController
Declared in YLPageViewController.h
YLPageViewController.m

Overview

This is the container view controller that holds one instance of YLPageView and is used in YLPagesViewController to represent a single page view.

Tasks

Properties

page

Page number (zero based).

@property (nonatomic, readonly) NSUInteger page

Discussion

Page number (zero based).

Declared In

YLPageViewController.h

pageView

Reference to the page view.

@property (nonatomic, readonly) YLPageView *pageView

Discussion

Reference to the page view.

Declared In

YLPageViewController.h

Instance Methods

initWithPDFController:page:

Initializes a YLPageViewController instance and returns it to the caller.

- (id)initWithPDFController:(YLPDFViewController *)controller page:(NSUInteger)page

Parameters

controller

Reference to the parent YLPDFViewController instance.

page

Page number starting from 0.

Return Value

An initialized YLPageViewController instance.

Discussion

Initializes a YLPageViewController instance and returns it to the caller.

Declared In

YLPageViewController.h