Yini  1.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
BWAppDelegate.h
Go to the documentation of this file.
1 //
2 // BWAppDelegate.h
3 // Yini
4 //
5 // Created by siqi wang on 12-7-12.
6 // Copyright (c) 2012年 siqi wang. All rights reserved.
7 //
8 
9 #import <UIKit/UIKit.h>
10 #import "ColorSwitcher.h"
11 #import <DropboxSDK/DropboxSDK.h>
12 
13 
14 @interface BWAppDelegate : UIResponder <UIApplicationDelegate, DBSessionDelegate>
15 {
16 }
17 
18 @property (strong, nonatomic) UIWindow *window;
19 
20 @property (readonly, strong, nonatomic) NSManagedObjectContext *managedObjectContext;
21 @property (readonly, strong, nonatomic) NSManagedObjectModel *managedObjectModel;
22 @property (readonly, strong, nonatomic) NSPersistentStoreCoordinator *persistentStoreCoordinator;
23 @property (nonatomic, strong) NSString* dbPlayingGround;
24 
25 
26 - (void)saveContext;
27 - (NSURL *)applicationDocumentsDirectory;
28 
29 
30 @property (strong, nonatomic) ColorSwitcher* colorSwitcher;
31 
32 +(BWAppDelegate *)instance;
33 
34 - (void)customizeGlobalTheme;
35 
36 - (void)customizeiPadTheme;
37 
38 
39 @end