CatNiP prefinal
Sähköinen nuottikirja, HY-TKTKL-OHTUPROJ KESÄ11
|
00001 // 00002 // UIDocumentView.h 00003 // CatNiP 00004 // 00005 // Created by Lari O Rasku, tkol on 6/13/11. 00006 // Copyright 2011 __MyCompanyName__. All rights reserved. 00007 // 00008 00009 #import <Foundation/Foundation.h> 00010 #import "UIDocument.h" 00011 00012 @interface UIDocumentView : UIScrollView <UIScrollViewDelegate> { 00015 UIView *container; 00016 00018 NSOperationQueue *operationQueue; 00019 00020 UIDocument *document; 00021 UIImage *placeholder; 00022 CGFloat preloadFactor; 00023 id<UIScrollViewDelegate> delegate; 00024 } 00025 00026 - (id)initWithDocument:(UIDocument *)uiDocument; 00027 - (void)refresh; 00028 - (void)centerContent; 00029 00032 @property CGFloat preloadFactor; 00033 00035 @property (nonatomic, retain) UIDocument *document; 00036 00039 @property (nonatomic, retain) UIImage *placeholder; 00040 00042 @property (nonatomic, assign) id<UIScrollViewDelegate> delegate; 00043 00044 @end