refactor: Remove old "Informations" section

Resolves: http://gitlab.steamware.net/eqn/eqn.ios/-/issues/7
This commit is contained in:
Andrea Busi
2020-07-30 12:23:54 +02:00
parent f63a9b44fc
commit d5c0b3cfef
11 changed files with 1 additions and 328 deletions
@@ -22,7 +22,6 @@
#import "AppDelegate.h"
#import "MenuSelezioneEntiViewController.h"
#import "ElencoFiltroEntiTableViewController.h"
#import "InformazioniViewController.h"
#import "MenuFiltroEntiViewController.h"
@interface MasterViewController () <MenuSelezioneEntiDelegate, MenuListaEntiDelegate, MenuFiltroEntiDelegate>
@@ -128,9 +127,7 @@
-(void)registraNotifiche{
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(apriNotificheSismi) name:NOTIFICHE_SISMI object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(apriInformazioni:) name:INFORMAZIONI_APP_MENU object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(acquistiInApp:) name:IAPHelperPurchaseNotification object:nil];
@@ -228,11 +225,6 @@
}
-(void)apriInformazioni:(NSNotification *)notification{
[self performSegueWithIdentifier:@"apriInformazioni" sender:notification];
}
-(void)heart{
[self performSegueWithIdentifier:@"logViewController" sender:nil];
@@ -361,17 +353,6 @@
controller.delegate = self;
}
if([segue.identifier isEqualToString:@"apriInformazioni"]){
NSNotification *notification = (NSNotification *)sender;
NSDictionary *userInfo = notification.userInfo;
UINavigationController *nav = (UINavigationController *)segue.destinationViewController;
InformazioniViewController *controller = (InformazioniViewController *)nav.topViewController;
controller.index = userInfo[@"indice"];
}
}