All pastes #928587 Raw Edit

Mine

public text v1 · immutable
·published 2008-03-05 04:19 UTC
rendered paste body
#import <Foundation/Foundation.h>
#import <CoreFoundation/CoreFoundation.h>
#import <UIKit/UIKit.h>
#import <UIKit/UIPreferencesTable.h>
#import <UIKit/UIPreferencesTableCell.h>
#import <UIKit/UIPreferencesTextTableCell.h>
#import <UIKit/UISwitchControl.h>

#import "SplashScreen.h"
#import "App.h"
#import "About.h"


@interface UIView (Color)
+ (CGColorRef)colorWithRed:(float)red green:(float)green blue:(float)blue alpha:(float)alpha;
@end

@interface MainView : UIView 
{

	UIView                          * _mainView;


	UINavigationBar 		* NavigationBar;
	UIPreferencesTable *preferencesTable;

	UIPreferencesTableCell 		*MainGroup;
	UIPreferencesTableCell 		*AboutGroup;

	UIPreferencesTextTableCell 	*InstallerCacheCell;
	UISwitchControl			*InstallerCacheSwitch;

	UIPreferencesTextTableCell 	*LogFilesCell;
	UISwitchControl			*LogFilesSwitch;

	UIPreferencesTextTableCell 	*LibraryCachesCell;
	UISwitchControl			*LibraryCachesSwitch;

	UIPreferencesTextTableCell 	*MobileFinderTrashCell;
	UISwitchControl			*MobileFinderTrashSwitch;

	UIPreferencesTextTableCell 	*iRadioPlayListsCell;
	UISwitchControl			*iRadioPlayListsSwitch;

	UIView				*aboutView;
	UIPreferencesTableCell		*aboutCell;
	UITextView			*aboutText;


	UINavigationBar                 * BottomNavigationBar;

}
+ (MainView *) sharedInstance;

-(id)init;
-(id)initWithFrame:(CGRect) rect;  // designated intializer

 -(void)navigationBar:(UINavigationBar*)bar buttonClicked:(int)button;
 -(void)tableRowSelected:(NSNotification *)notification;

@end