72 lines
1.8 KiB
Mathematica
72 lines
1.8 KiB
Mathematica
|
|
//
|
||
|
|
// FESFilmDetailsViewController.m
|
||
|
|
// FestivalHelper
|
||
|
|
//
|
||
|
|
// Created by Hamo Hapic on 06/09/14.
|
||
|
|
// Copyright (c) 2014 Senad Uka. All rights reserved.
|
||
|
|
//
|
||
|
|
|
||
|
|
#import "FESFilmDetailsViewController.h"
|
||
|
|
#import "FESFilmEntry.h"
|
||
|
|
|
||
|
|
@interface FESFilmDetailsViewController ()
|
||
|
|
|
||
|
|
@end
|
||
|
|
|
||
|
|
@implementation FESFilmDetailsViewController
|
||
|
|
|
||
|
|
@synthesize filmEntry;
|
||
|
|
@synthesize filmTitle;
|
||
|
|
@synthesize filmDirectors;
|
||
|
|
@synthesize filmProgram;
|
||
|
|
@synthesize filmDescription;
|
||
|
|
@synthesize filmTagLines;
|
||
|
|
@synthesize filmTitleTranslation;
|
||
|
|
@synthesize filmTime;
|
||
|
|
@synthesize filmDate;
|
||
|
|
|
||
|
|
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
|
||
|
|
{
|
||
|
|
self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
|
||
|
|
if (self) {
|
||
|
|
// Custom initialization
|
||
|
|
}
|
||
|
|
return self;
|
||
|
|
}
|
||
|
|
|
||
|
|
- (void)viewDidLoad
|
||
|
|
{
|
||
|
|
[super viewDidLoad];
|
||
|
|
if(filmEntry != nil) {
|
||
|
|
filmTitle.text = filmEntry.filmTitle;
|
||
|
|
filmTime.text = filmEntry.filmTime;
|
||
|
|
filmTagLines.text = filmEntry.filmTagLines;
|
||
|
|
filmTitleTranslation.text = filmEntry.filmTitleTranslation;
|
||
|
|
filmDirectors.text = filmEntry.filmDirectors;
|
||
|
|
filmDescription.text = filmEntry.filmDescription;
|
||
|
|
filmProgram.text = filmEntry.filmProgram;
|
||
|
|
filmDate.text = filmEntry.filmDate;
|
||
|
|
self.navigationItem.title = filmEntry.filmTitle;
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
- (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.
|
||
|
|
}
|
||
|
|
*/
|
||
|
|
|
||
|
|
@end
|