Repo created
This commit is contained in:
parent
4af19165ec
commit
68073add76
12458 changed files with 12350765 additions and 2 deletions
17
iphone/Maps/Classes/MWMSegue.m
Normal file
17
iphone/Maps/Classes/MWMSegue.m
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
#import "MWMSegue.h"
|
||||
|
||||
@implementation MWMSegue
|
||||
|
||||
+ (void)segueFrom:(UIViewController *)source to:(UIViewController *)destination
|
||||
{
|
||||
[[[self alloc] initWithIdentifier:@"" source:source destination:destination] perform];
|
||||
}
|
||||
|
||||
- (void)perform
|
||||
{
|
||||
UINavigationController * nc = self.sourceViewController.navigationController;
|
||||
UIViewController * dvc = self.destinationViewController;
|
||||
[nc showViewController:dvc sender:nil];
|
||||
}
|
||||
|
||||
@end
|
||||
Loading…
Add table
Add a link
Reference in a new issue