venue in schedule now shows correctly
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
#import "FESScheduleTableViewController.h"
|
||||
#import "FESSCheduleEntry.h"
|
||||
#import "FESScheduleEntryCell.h"
|
||||
#import "FESScheduleFilmsViewController.h"
|
||||
|
||||
@interface FESScheduleTableViewController ()
|
||||
|
||||
@@ -166,7 +167,11 @@
|
||||
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender
|
||||
{
|
||||
// Get the new view controller using [segue destinationViewController].
|
||||
FESScheduleFilmsViewController *destination = (FESScheduleFilmsViewController *) [segue destinationViewController];
|
||||
FESSCheduleEntry *entry = (FESSCheduleEntry *)[self.scheduleArray objectAtIndex:self.tableView.indexPathForSelectedRow.row];
|
||||
|
||||
// Pass the selected object to the new view controller.
|
||||
destination.scheduleFilmsArray = entry.scheduleFilms;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user