Production version
Add to Git the current app version (the same available in the OriginalZip folder)
This commit is contained in:
@@ -0,0 +1,52 @@
|
||||
//
|
||||
// WaitViewController.m
|
||||
// Earthquake Network
|
||||
//
|
||||
// Created by Luca Beretta on 15/10/18.
|
||||
// Copyright © 2018 Luca Beretta. All rights reserved.
|
||||
//
|
||||
|
||||
#import "WaitViewController.h"
|
||||
#import "Costanti.h"
|
||||
@interface WaitViewController ()
|
||||
|
||||
|
||||
@end
|
||||
|
||||
@implementation WaitViewController
|
||||
|
||||
- (void)viewDidLoad {
|
||||
[super viewDidLoad];
|
||||
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(chiudi:) name:NOTIFICA_DOWNLOAD_TERMINATO object:nil];
|
||||
|
||||
[NSTimer scheduledTimerWithTimeInterval:10 target:self selector:@selector(chiudi:) userInfo:nil repeats:NO];
|
||||
|
||||
|
||||
// Do any additional setup after loading the view.
|
||||
}
|
||||
-(void)chiudi:(NSNotification *)notifica{
|
||||
|
||||
[self dismissViewControllerAnimated:NO completion:nil];
|
||||
|
||||
}
|
||||
|
||||
- (void)didReceiveMemoryWarning {
|
||||
[super didReceiveMemoryWarning];
|
||||
// Dispose of any resources that can be recreated.
|
||||
}
|
||||
|
||||
-(void)dealloc{
|
||||
|
||||
[[NSNotificationCenter defaultCenter] removeObserver:self];
|
||||
}
|
||||
/*
|
||||
#pragma mark - Navigation
|
||||
|
||||
// In a storyboard-based application, you will often want to do a little preparation before navigation
|
||||
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
|
||||
// Get the new view controller using [segue destinationViewController].
|
||||
// Pass the selected object to the new view controller.
|
||||
}
|
||||
*/
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user