Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - (void)performQuoteIdentifier:(SCBPratica*)quote {
- if ([quote.idPratica isEqualToString: @"14783197"]) {
- DashboardControllerView *vc = [UIStoryboard.dashboard instantiateViewControllerWithIdentifier:@"DashboardControllerView"];
- DashboardControllerViewModel *viewModel = [[DashboardControllerViewModel alloc] initWithPratica: quote];
- vc.viewModel = viewModel;
- [self.navigationController pushViewController:vc animated:YES];
- } else {
- DashboardViewController *vc = [UIStoryboard.dashboard instantiateViewControllerWithIdentifier:@"DashboardViewController"];
- self.navigationItem.title = @" ";
- vc.idPraticaFromNotification = quote.idPratica;
- [self.navigationController pushViewController:vc animated:YES];
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement