Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: c7f0192f19
Fetching contributors…

Cannot retrieve contributors at this time

31 lines (23 sloc) 0.718 kb
// LeavesCache.h
// Reader
// Created by Tom Brow on 5/12/10.
// Copyright 2010 __MyCompanyName__. All rights reserved.
#import <Foundation/Foundation.h>
#import "LeavesView.h"
@protocol LeavesViewDataSource;
@interface LeavesCache : NSObject {
NSMutableDictionary *pageCache;
id<LeavesViewDataSource> dataSource;
CGSize pageSize;
@property (assign) CGSize pageSize;
@property (assign) id<LeavesViewDataSource> dataSource;
- (id) initWithPageSize:(CGSize)aPageSize;
- (CGImageRef) cachedImageForPageIndex:(NSUInteger)pageIndex;
- (void) precacheImageForPageIndex:(NSUInteger)pageIndex;
- (void) minimizeToPageIndex:(NSUInteger)pageIndex viewMode:(LeavesViewMode)viewMode;
- (void) flush;
Jump to Line
Something went wrong with that request. Please try again.