49 lines
1.0 KiB
Objective-C
49 lines
1.0 KiB
Objective-C
//
|
|
// KTThumbsViewController.h
|
|
// KTPhotoBrowser
|
|
//
|
|
// Created by Kirby Turner on 2/3/10.
|
|
// Copyright 2010 White Peak Software Inc. All rights reserved.
|
|
//
|
|
|
|
#import <UIKit/UIKit.h>
|
|
#import "KTPhotoBrowserDataSource.h"
|
|
#import "KTThumbsView.h"
|
|
|
|
@class KTThumbsView;
|
|
|
|
@interface KTThumbsViewController : UIViewController <KTThumbsViewDataSource>
|
|
{
|
|
@private
|
|
id <KTPhotoBrowserDataSource> dataSource_;
|
|
KTThumbsView *scrollView_;
|
|
BOOL viewDidAppearOnce_;
|
|
BOOL navbarWasTranslucent_;
|
|
}
|
|
|
|
@property (nonatomic, retain) id <KTPhotoBrowserDataSource> dataSource;
|
|
|
|
/**
|
|
* Re-displays the thumbnail images.
|
|
*/
|
|
- (void)reloadThumbs;
|
|
|
|
/**
|
|
* Called before the thumbnail images are loaded and displayed.
|
|
* Override this method to prepare. For instance, display an
|
|
* activity indicator.
|
|
*/
|
|
- (void)willLoadThumbs;
|
|
|
|
/**
|
|
* Called immediately after the thumbnail images are loaded and displayed.
|
|
*/
|
|
- (void)didLoadThumbs;
|
|
|
|
/**
|
|
* Used internally. Called when the thumbnail is touched by the user.
|
|
*/
|
|
- (void)didSelectThumbAtIndex:(NSUInteger)index;
|
|
|
|
@end
|