co-maps/iphone/Maps/Classes/MWMSegue.m

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
429 B
Mathematica
Raw Normal View History

2025-11-22 13:58:55 +01:00
#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