venue in schedule now shows correctly
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
|
||||
#import "FESScheduleFilmsViewController.h"
|
||||
#import "FESScheduleFilm.h"
|
||||
#import "FESScheduleFilmCell.h"
|
||||
|
||||
@interface FESScheduleFilmsViewController ()
|
||||
|
||||
@@ -55,16 +56,26 @@
|
||||
return [scheduleFilmsArray count];
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
|
||||
{
|
||||
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:<#@"reuseIdentifier"#> forIndexPath:indexPath];
|
||||
|
||||
// Configure the cell...
|
||||
UITableViewCell *retrievedCell = [tableView dequeueReusableCellWithIdentifier:@"scheduleFilmCell" forIndexPath:indexPath];
|
||||
FESScheduleFilmCell *cell = (FESScheduleFilmCell *)retrievedCell;
|
||||
|
||||
if(cell)
|
||||
{
|
||||
//The beauty of this is that you have all your data in one object and grab WHATEVER you like
|
||||
//This way in the future you can add another field without doing much.
|
||||
FESScheduleFilm *scheduleFilm = [scheduleFilmsArray objectAtIndex:indexPath.row];
|
||||
cell.scheduleFilmTime.text = scheduleFilm.scheduleFilmTime;
|
||||
cell.scheduleFilmDuration.text = scheduleFilm.scheduleFilmDuration;
|
||||
cell.scheduleFilmTitle.text = scheduleFilm.scheduleFilmTitle;
|
||||
cell.scheduleFilmVenue.text = scheduleFilm.scheduleFilmVenue;
|
||||
|
||||
}
|
||||
|
||||
return cell;
|
||||
}
|
||||
*/
|
||||
|
||||
/*
|
||||
// Override to support conditional editing of the table view.
|
||||
|
||||
Reference in New Issue
Block a user