mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-21 05:43:37 +00:00
To expand with full Organic Maps and Maps.ME commits history run: git remote add om-historic [om-historic.git repo url] git fetch --tags om-historic git replace squashed-history historic-commits
18 lines
429 B
Objective-C
18 lines
429 B
Objective-C
#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
|