-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathAppDelegate.h
54 lines (46 loc) · 1.67 KB
/
AppDelegate.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
//
// AppDelegate.h
// MapShot
//
//
#import <UIKit/UIKit.h>
#import <Accounts/Accounts.h>
#import <Social/Social.h>
#import "config.h"
#import <CoreLocation/CoreLocation.h>
#import "TabBarClassConViewController.h"
#import "SignInViewController.h"
#import "FbGraph.h"
@interface AppDelegate : UIResponder <UIApplicationDelegate,CLLocationManagerDelegate>
{
UIImage *twitterImg;
UIView *spinnerView;
UIActivityIndicatorView *indicator;
UILabel *messageLabel;
NSMutableDictionary *Screenshotdic;
BOOL isfacebook;
NSTimeInterval startInterval, stopInterval, elapsedTime;
FbGraph *fbGraph;
}
@property (strong, nonatomic) TabBarClassConViewController *tabBarCon;
@property (strong, nonatomic) UIWindow *window;
@property (nonatomic, retain) ACAccountStore *myAccountStore;
@property(nonatomic,retain) __block ACAccount *twitterAccount;
@property (nonatomic,assign) BOOL isImageLocate;
@property (nonatomic,assign) BOOL isFromSearchView;
@property (nonatomic, strong, readonly) NSMutableDictionary *logStartTimer;
@property (nonatomic, retain) FbGraph *fbGraph;
-(void) setTwitImg:(UIImage*)img;
-(NSString *)emptystr:(NSString *)txt;
- (NSString*) getUserDefault:(NSString*)key;
+ (BOOL)hasConnectivity;
+ (void)setStatusbar;
-(NSDictionary*)convertToJSON:(id)data;
-(void) setUserDefault:(NSString*)key setObject:(NSString*)myString;
-(void) setUserDefault:(NSString*)key setImage:(UIImage *)myImage;
-(void) Setscreenshot:(UIImage*)arr forkey:(NSString*)key;
-(UIImage*) Getscreenshot:(NSString*)key;
- (void)applicationDidBecomeActive:(UIApplication *)application;
@property (nonatomic, retain) __block ACAccount *faceBookAccount;
-(void)openingScreen;
@end