Nextrek
@ 588
Nextrek / iOS / SafariArte / trunk / SafariArte / Commodities / DataManager.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 55 56 57 58 59 60 61 62 |
// // DataManager.h // bigBangProject // // Created by Fabrizio on 29/01/13. // Copyright (c) 2012 Odyssey. All rights reserved. // #import <Foundation/Foundation.h> #import "SFAUser.h" #import "CustomIOSAlertView.h" #import "SFAPercorso.h" #import "Reachability.h" @interface DataManager : NSObject <CustomIOSAlertViewDelegate> +(DataManager *) getInstance; - (id) init; @property (nonatomic, strong) SFAUser *user; @property (nonatomic, strong) NSNumber *secondsCount; @property (nonatomic, strong) NSURL *menuWebViewURL; @property (nonatomic, strong) NSMutableArray *orderedArray; - (void)saveUser; - (void)loadUser; - (void) defineLanguage; - (NSError *)errorInside:(NSDictionary *)response; - (void) showMessageWithAlert:(id)delegate message:(NSString*)message tag:(NSInteger)tag; - (void) showErrorAlert:(id)delegate message:(NSString*)message tag:(NSInteger)tag; - (void) showErrorAlert2Btns:(id)delegate message:(NSString*)message tag:(NSInteger)tag; - (void) showGPSAlert:(id)delegate message:(NSString*)message tag:(NSInteger)tag; - (void) showAlert:(id)delegate withTitle:(NSString*)title message:(NSString*)message tag:(NSInteger)tag; - (NSArray *) setDurationRoutes:(NSString *)duration; - (NSArray *) setRouteLength:(NSString *)length; - (NSArray *) setDistanceToMe:(NSString *)distanceToMe; - (void) savePOIforRoute:(SFAPercorso*)route poiIndex:(NSNumber*)poiIndex; - (void) clearPOIforRoute:(SFAPercorso*)route; - (NSNumber*) poiForRoute:(SFAPercorso*)route; //Timer methods - (BOOL) saveTimerForRouteID:(SFAPercorso*)route; -(BOOL) resetTimerForRouteID:(SFAPercorso*)route; - (NSString *)getTime; - (NSString *)getTimeForRoute:(SFAPercorso*)route; -(BOOL) saveClues:(SFAPercorso*)route ; - (void) timeInc; - (void)setCellColorforTableview:(UITableView*)tableview withColor:(UIColor *)color forIndexPath:(NSIndexPath*)indexPath andDuration:(int)duration; - (BOOL)testInternetConnection; -(void) resetPoisForRoute:(SFAPercorso*)route; @end |
Commits for Nextrek/iOS/SafariArte/trunk/SafariArte/Commodities/DataManager.h
Revision | Author | Commited | Message |
---|---|---|---|
588 Diff | PBonamassa | Thu 27 Aug, 2015 13:39:33 +0000 | fixed bug |
568 Diff | PBonamassa | Wed 26 Aug, 2015 09:47:30 +0000 | fixed bug timer & image final quiz |
536 Diff | PBonamassa | Mon 24 Aug, 2015 13:48:30 +0000 | Bug fixing |
534 Diff | FAquili | Mon 24 Aug, 2015 13:15:05 +0000 | Bug fixing |
453 Diff | PBonamassa | Thu 30 Jul, 2015 15:25:09 +0000 | added sound Frocix |
451 Diff | FPompili | Thu 30 Jul, 2015 13:34:10 +0000 | added orderByServer (geo order) for routes dict |
444 Diff | FPompili | Tue 28 Jul, 2015 14:26:36 +0000 | added customAlertView |
426 Diff | FPompili | Wed 22 Jul, 2015 15:17:52 +0000 | fixed bugs |
412 Diff | PBonamassa | Tue 21 Jul, 2015 14:08:56 +0000 | added button order |
385 | FPompili | Fri 17 Jul, 2015 14:45:51 +0000 | added auto conversion km->mile |