SkyEpub SDK for iOS 7
 All Classes Functions Variables Properties
Instance Methods | List of all members
<FixedViewControllerDataSource> Protocol Referenceabstract
Inheritance diagram for <FixedViewControllerDataSource>:

Instance Methods

(NSString *) - fixedViewController:scriptForPage:
 
(NSString *) - fixedViewController:styleForPage:
 
(BOOL) - fixedViewController:cacheExists:
 
(NSMutableArray *) - fixedViewController:highlightsForChapter:
 
(void) - fixedViewController:insertHighlight:
 
(void) - fixedViewController:deleteHighlight:
 
(void) - fixedViewController:updateHighlight:
 

Method Documentation

- (BOOL) fixedViewController: (FixedViewController *)  fvc
cacheExists: (int)  pageIndex 
optional

if cache file exists for pageIndex, you have to return YES or return NO

- (void) fixedViewController: (FixedViewController *)  rvc
deleteHighlight: (Highlight *)  highlight 
optional

called when certain highlight should be deleted in the case like merging highlights.

- (NSMutableArray*) fixedViewController: (FixedViewController *)  fvc
highlightsForChapter: (NSInteger)  chapterIndex 
optional

should return NSMutableArray holding highlight objects for the given chapter index.

- (void) fixedViewController: (FixedViewController *)  rvc
insertHighlight: (Highlight *)  highlight 
optional

called when new highlight object must be inserted.

- (NSString*) fixedViewController: (FixedViewController *)  fvc
scriptForPage: (NSInteger)  pageIndex 
optional

Javascript source for pageIndex can be passed to the engine if you like to implement some custom behaviors.

- (NSString*) fixedViewController: (FixedViewController *)  fvc
styleForPage: (NSInteger)  pageIndex 
optional

CSS source for pageIndex can be passed to the engine if you like to implement some custom behaviors.

- (void) fixedViewController: (FixedViewController *)  rvc
updateHighlight: (Highlight *)  highlight 
optional

called when certain highlight should be updated in the case like changing color


The documentation for this protocol was generated from the following file: