Conforms to NSObject
Declared in MFDocumentOverlayDataSource.h

Tasks

Instance Methods

documentViewController:didReceiveTapOnTouchable:

This method will be called when an user does tap on an overlay touchable element.

- (void)documentViewController:(MFDocumentViewController *)dvc didReceiveTapOnTouchable:(id<MFOverlayTouchable>)touchable

Discussion

This method will be called when an user does tap on an overlay touchable element.

Declared In

MFDocumentOverlayDataSource.h

documentViewController:drawablesForPage:

This method is invoked when a new detail page is going to be drawn and overlayEnabled of the MFDocumentViewController is set to YES. The object setted as overlayDataSource is then required to return an array of MFOverlayDrawable object to be drawn on the page as overlay.

- (NSArray *)documentViewController:(MFDocumentViewController *)dvc drawablesForPage:(NSUInteger)page

Discussion

This method is invoked when a new detail page is going to be drawn and overlayEnabled of the MFDocumentViewController is set to YES. The object setted as overlayDataSource is then required to return an array of MFOverlayDrawable object to be drawn on the page as overlay.

Declared In

MFDocumentOverlayDataSource.h

documentViewController:touchablesForPage:

This method is invoked when a new detail page is going to be drawn and overlayEnables is set to YES. Objects added as overlay data sources are required to submit touchables element to be tested against user input events.

- (NSArray *)documentViewController:(MFDocumentViewController *)dvc touchablesForPage:(NSUInteger)page

Discussion

This method is invoked when a new detail page is going to be drawn and overlayEnables is set to YES. Objects added as overlay data sources are required to submit touchables element to be tested against user input events.

Declared In

MFDocumentOverlayDataSource.h