Skip to content
Browse files

remove dead code

  • Loading branch information...
1 parent be306f2 commit 2b5c93b8829d6d2656050b89e770d6e36a710899 @steipete steipete committed Mar 6, 2014
Showing with 1 addition and 5 deletions.
  1. +1 −5 Examples/PSPDFCatalog/Customization/PSCPageRangeExample.m
View
6 Examples/PSPDFCatalog/Customization/PSCPageRangeExample.m
@@ -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];

0 comments on commit 2b5c93b

Please sign in to comment.
Something went wrong with that request. Please try again.