Repo created
This commit is contained in:
parent
4af19165ec
commit
68073add76
12458 changed files with 12350765 additions and 2 deletions
33
iphone/Maps/Classes/Components/MWMCollectionViewController.m
Normal file
33
iphone/Maps/Classes/Components/MWMCollectionViewController.m
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
#import "MWMCollectionViewController.h"
|
||||
#import "MWMAlertViewController.h"
|
||||
#import "MapViewController.h"
|
||||
#import "SwiftBridge.h"
|
||||
|
||||
@interface MWMCollectionViewController ()
|
||||
|
||||
@property(nonatomic, readwrite) MWMAlertViewController * alertController;
|
||||
|
||||
@end
|
||||
|
||||
@implementation MWMCollectionViewController
|
||||
|
||||
- (BOOL)prefersStatusBarHidden { return NO; }
|
||||
|
||||
- (void)viewDidLoad
|
||||
{
|
||||
[super viewDidLoad];
|
||||
self.collectionView.styleName = @"PressBackground";
|
||||
[self.navigationController.navigationBar setTranslucent:NO];
|
||||
}
|
||||
|
||||
#pragma mark - Properties
|
||||
|
||||
- (BOOL)hasNavigationBar { return YES; }
|
||||
- (MWMAlertViewController *)alertController
|
||||
{
|
||||
if (!_alertController)
|
||||
_alertController = [[MWMAlertViewController alloc] initWithViewController:self];
|
||||
return _alertController;
|
||||
}
|
||||
|
||||
@end
|
||||
Loading…
Add table
Add a link
Reference in a new issue