Guest User

Untitled

a guest
May 24th, 2018
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //
  2. //  ToolBar.h
  3. //  arles2012
  4. //
  5. //  Created by Eleve on 13/01/12.
  6. //  Copyright (c) 2012 Gobelins. All rights reserved.
  7. //
  8.  
  9. #import <UIKit/UIKit.h>
  10.  
  11. @protocol ToolBarDelegate <NSObject>
  12.  
  13. @required
  14.  
  15. - (bool)shouldBeMarkedAsFavorite;
  16. - (void)addToFavoriteCalled;
  17. - (NSString *)linkToShare;
  18. - (NSString *)infosToDisplay;
  19. - (NSArray *)centerInfosToDisplay;
  20.  
  21. @end
  22.  
  23.  
  24. @interface ToolBar : UIViewController
  25.  
  26. @property (strong,nonatomic) UIViewController *rootViewController;
  27. @property (strong,nonatomic) UIView *containerView;
  28. @property (weak, nonatomic) id <ToolBarDelegate> delegate;
  29.  
  30. - (IBAction)addToFavorite:(id)sender;
  31. - (IBAction)share:(id)sender;
  32. - (IBAction)getInformations:(id)sender;
  33. - (IBAction)getGeolocalisation:(id)sender;
  34. - (IBAction)hasTouchedCenterButton:(id)sender;
  35.  
  36. - (id)initWithRootViewController:(UIViewController *)rootViewController;
  37.  
  38. @end
Add Comment
Please, Sign In to add comment