diff options
author | v.mikhaylenko <v.mikhaylenko@corp.mail.ru> | 2015-05-21 15:46:10 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:52:38 +0300 |
commit | 279e4649433bcbc06e888d557f77d7dd8708fa98 (patch) | |
tree | 2e41fa51f21d070086c2f591287b9ed82cced551 /iphone/Maps/Classes/MWMPlacePageNavigationBar.h | |
parent | 9d2141ae12860ba6f587c97ca31d3986be2a4b51 (diff) |
[ios] Added place page for landscape and portrait iPhone. Improved UI.
Diffstat (limited to 'iphone/Maps/Classes/MWMPlacePageNavigationBar.h')
-rw-r--r-- | iphone/Maps/Classes/MWMPlacePageNavigationBar.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/iphone/Maps/Classes/MWMPlacePageNavigationBar.h b/iphone/Maps/Classes/MWMPlacePageNavigationBar.h index 24f381279e..e4d38b5d94 100644 --- a/iphone/Maps/Classes/MWMPlacePageNavigationBar.h +++ b/iphone/Maps/Classes/MWMPlacePageNavigationBar.h @@ -8,12 +8,16 @@ #import <UIKit/UIKit.h> -@class MWMiPhonePortraitPlacePageView; +@class MWMiPhonePortraitPlacePage; @interface MWMPlacePageNavigationBar : UIView -@property (weak, nonatomic, readonly) IBOutlet UILabel *titleLabel; +@property (weak, nonatomic, readonly) IBOutlet UILabel * titleLabel; -+ (instancetype)navigationBarWithPlacePage:(MWMiPhonePortraitPlacePageView *)placePage; ++ (instancetype)navigationBarWithPlacePage:(MWMiPhonePortraitPlacePage *)placePage; + +- (instancetype)init __attribute__((unavailable("init is unavailable, call navigationBarWithPlacePage: instead"))); +- (instancetype)initWithCoder:(NSCoder *)aDecoder __attribute__((unavailable("initWithCoder: is unavailable, call navigationBarWithPlacePage: instead"))); +- (instancetype)initWithFrame:(CGRect)frame __attribute__((unavailable("initWithFrame: is unavailable, call navigationBarWithPlacePage: instead"))); @end |