Skip to content

Commit

Permalink
remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
steipete committed Mar 6, 2014
1 parent be306f2 commit 2b5c93b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Examples/PSPDFCatalog/Customization/PSCPageRangeExample.m
Expand Up @@ -23,12 +23,8 @@ - (id)init {
}

- (UIViewController *)invokeWithDelegate:(id<PSCExampleRunnerDelegate>)delegate {
// cache needs to be cleared since pages will change.
[PSPDFCache.sharedCache clearCache];
// TODO: fix me
//_clearCacheNeeded = YES;

PSPDFDocument *document = [PSCAssetLoader sampleDocumentWithName:kHackerMagazineExample];
document.UID = @"PageRangeExampleUID"; // custom so this won't affect other examples.
document.pageRange = [NSIndexSet indexSetWithIndexesInRange:NSMakeRange(4, 5)];
PSPDFViewController *controller = [[PSPDFViewController alloc] initWithDocument:document];
controller.rightBarButtonItems = @[controller.annotationButtonItem, controller.viewModeButtonItem];
Expand Down

0 comments on commit 2b5c93b

Please sign in to comment.