Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorv.mikhaylenko <v.mikhaylenko@corp.mail.ru>2015-05-21 15:46:10 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:52:38 +0300
commit279e4649433bcbc06e888d557f77d7dd8708fa98 (patch)
tree2e41fa51f21d070086c2f591287b9ed82cced551 /iphone/Maps/Classes/MWMBasePlacePageView.h
parent9d2141ae12860ba6f587c97ca31d3986be2a4b51 (diff)
[ios] Added place page for landscape and portrait iPhone. Improved UI.
Diffstat (limited to 'iphone/Maps/Classes/MWMBasePlacePageView.h')
-rw-r--r--iphone/Maps/Classes/MWMBasePlacePageView.h37
1 files changed, 6 insertions, 31 deletions
diff --git a/iphone/Maps/Classes/MWMBasePlacePageView.h b/iphone/Maps/Classes/MWMBasePlacePageView.h
index a7323a307c..24f22d4866 100644
--- a/iphone/Maps/Classes/MWMBasePlacePageView.h
+++ b/iphone/Maps/Classes/MWMBasePlacePageView.h
@@ -8,42 +8,17 @@
#import <UIKit/UIKit.h>
-#include "map/user_mark.hpp"
-
-@class MWMPlacePageViewManager, MWMPlacePageActionBar, MWMPlacePageEntity;
-
-typedef NS_ENUM(NSUInteger, MWMPlacePageState) {
- MWMPlacePageStateClosed,
- MWMPlacePageStatePreview,
- MWMPlacePageStateOpen
-};
+@class MWMPlacePageEntity;
@interface MWMBasePlacePageView : UIView
-@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
-@property (weak, nonatomic) IBOutlet UILabel *typeLabel;
-@property (weak, nonatomic) IBOutlet UILabel *distanceLabel;
-@property (weak, nonatomic) IBOutlet UIImageView *directionArrow;
-@property (weak, nonatomic) IBOutlet UITableView *featureTable;
-@property (weak, nonatomic) MWMPlacePageActionBar *actionBar;
-@property (weak, nonatomic) MWMPlacePageViewManager *placePageManager;
-@property (nonatomic) MWMPlacePageState state;
+@property (weak, nonatomic) IBOutlet UILabel * titleLabel;
+@property (weak, nonatomic) IBOutlet UILabel * typeLabel;
+@property (weak, nonatomic) IBOutlet UILabel * distanceLabel;
+@property (weak, nonatomic) IBOutlet UIImageView * directionArrow;
+@property (weak, nonatomic) IBOutlet UITableView * featureTable;
-- (instancetype)init;
- (void)configureWithEntity:(MWMPlacePageEntity *)entity;
-
-- (CGPoint)targetPoint;
-- (IBAction)didTap:(UITapGestureRecognizer *)sender;
-
-- (void)show;
-- (void)dismiss;
- (void)addBookmark;
@end
-
-@interface MWMBasePlacePageView (Animations)
-
-- (void)cancelSpringAnimation;
-- (void)startAnimatingView:(MWMBasePlacePageView *)view initialVelocity:(CGPoint)initialVelocity;
-
-@end