// // ImpostazioniViewController.m // Earthquake Network // // Created by Luca Beretta on 08/11/18. // Copyright © 2018 Luca Beretta. All rights reserved. // #import "ImpostazioniViewController.h" @interface ImpostazioniViewController () @property (weak, nonatomic) IBOutlet UILabel *titolo; @property (weak, nonatomic) IBOutlet UILabel *nazione; @property (weak, nonatomic) IBOutlet UIButton *buttonNazione; @property (weak, nonatomic) IBOutlet UILabel *etichetta; @property (weak, nonatomic) IBOutlet UIButton *buttonReteSismiche; @property (weak, nonatomic) IBOutlet UIButton *buttonChiudi; - (IBAction)selezionaNazione:(id)sender; - (IBAction)selezionaRetiSismiche:(id)sender; - (IBAction)chiudi:(id)sender; @end @implementation ImpostazioniViewController - (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view. self.titolo.text = NSLocalizedString(@"Se vuoi filtrare la lista dei sismi, seleziona la nazione in cui vivi", @""); self.etichetta.text = NSLocalizedString(@"oppure", @""); [self.buttonNazione setTitle:[NSLocalizedString(@"Conferma nazione", @"") uppercaseString] forState:UIControlStateNormal]; [self.buttonReteSismiche setTitle:NSLocalizedString(@"Gestisci le reti sismiche", @"") forState:UIControlStateNormal]; [self.buttonChiudi setTitle:[NSLocalizedString(@"Annulla", @"") uppercaseString] forState:UIControlStateNormal]; } - (void)didReceiveMemoryWarning { [super didReceiveMemoryWarning]; // Dispose of any resources that can be recreated. } /* #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. } */ - (IBAction)selezionaNazione:(id)sender { } - (IBAction)selezionaRetiSismiche:(id)sender { } - (IBAction)chiudi:(id)sender { [self dismissViewControllerAnimated:YES completion:nil]; } @end