Conforms to NSObject
Declared in YLAnnotationView.h

Overview

All annotation views should implement this protocol to display YLAnnotation objecs and react to page hide/show events.

Tasks

Properties

annotation

The annotation object represented by this view.

@property (nonatomic, retain) YLAnnotation *annotation

Discussion

The annotation object represented by this view.

Declared In

YLAnnotationView.h

pdfViewController

Weak reference to parent YLPDFViewController.

@property (nonatomic, assign) YLPDFViewController *pdfViewController

Discussion

Weak reference to parent YLPDFViewController.

Declared In

YLAnnotationView.h

Instance Methods

didShowPage:

Called when page is shown.

- (void)didShowPage:(NSUInteger)page

Parameters

page

Page number starting from 0.

Discussion

Called when page is shown.

Declared In

YLAnnotationView.h

willHidePage:

Called when page is hidden.

- (void)willHidePage:(NSUInteger)page

Parameters

page

Page number starting from 0.

Discussion

Called when page is hidden.

Declared In

YLAnnotationView.h