Conforms to NSObject
Declared in YLPDFViewControllerDataSource.h

Overview

Implement this protocol in your UIViewController to provide additional data that should be displayed on pdf pages.

Tasks

Instance Methods

pdfViewController:annotationViewsForPage:viewRect:

Use this function to return an array of UIViews that conform to the YLAnnotationView protocol!

- (NSArray *)pdfViewController:(YLPDFViewController *)controller annotationViewsForPage:(NSUInteger)page viewRect:(CGRect)viewRect

Parameters

controller

The YLPDFViewController object requesting this information.

page

page number starting from 0.

viewRect

CGRect of pdf page in view coordinates.

Discussion

Use this function to return an array of UIViews that conform to the YLAnnotationView protocol!

Declared In

YLPDFViewControllerDataSource.h