Ignite Tools
Shared/PresenterDetailViewController.h
00001 //
00002 //  PresenterDetailViewController.h
00003 //  IgniteTools
00004 //
00005 //  Created by Joseph Flasher on 6/5/11.
00006 //  Copyright 2011 Ars Sollertia. All rights reserved.
00007 //
00008 
00009 #import <UIKit/UIKit.h>
00010 #import "Presenter.h"
00011 #import "AvatarDownload.h"
00012 
00016 @interface PresenterDetailViewController : UIViewController <AvatarDownloadDelegate, UITableViewDelegate, UITableViewDataSource, NSFetchedResultsControllerDelegate> {
00017         Presenter *presenter;
00018         IBOutlet UILabel *nameLabel;
00019         IBOutlet UIButton *twitterButton;
00020         IBOutlet UIButton *websiteButton;
00021         IBOutlet UIImageView *avatarImageView;
00022         IBOutlet UITableView *sparksTableView;
00023         IBOutlet UIActivityIndicatorView *loadingSpinner;
00024         NSManagedObjectContext *managedObjectContext;
00025         NSFetchedResultsController *fetchedResultsController;
00026         AvatarDownload *avatarDownload;
00027 }
00028 
00032 @property (nonatomic, retain) Presenter *presenter;
00033 
00037 @property (nonatomic, retain) IBOutlet UILabel *nameLabel;
00038 
00042 @property (nonatomic, retain) IBOutlet UIButton *twitterButton;
00043 
00047 @property (nonatomic, retain) IBOutlet UIButton *websiteButton;
00048 
00052 @property (nonatomic, retain) IBOutlet UIImageView *avatarImageView;
00053 
00057 @property (nonatomic, retain) IBOutlet UITableView *sparksTableView;
00058 
00062 @property (nonatomic, retain) IBOutlet UIActivityIndicatorView *loadingSpinner;
00063 
00067 @property (nonatomic, retain) NSFetchedResultsController *fetchedResultsController;
00068 
00072 @property (nonatomic, retain) NSManagedObjectContext *managedObjectContext;
00073 
00077 @property (nonatomic, retain) AvatarDownload *avatarDownload;
00078 
00082 - (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil presenter:(Presenter *)forPresenter;
00083 
00088 - (IBAction)twitterButtonPressed:(id)sender;
00089 
00094 - (IBAction)websiteButtonPressed:(id)sender;
00095 
00096 @end
 All Classes Functions Properties