Hey, What does this line of code mean? I do not understand it
- (IBAction)edit {
self.editingViewController.movie = self.movie; // I dont understand this line
[self presentModalViewController:self.editingViewController animated:YES];
}
And what about this?
- (void)viewWillAppear:(BOOL)animated {
[super viewWillAppear:animated];
self.titleLabel.text = self.movie.title;
NSNumberFormatter *formatter = [[NSNumberFormatter alloc] init];
[formatter setNumberStyle:NSNumberFormatterCurrencyStyle];
self.boxOfficeGrossLabel.text =
[formatter stringFromNumber:self.movie.boxOfficeGross];
[formatter release];
self.summaryLabel.text = self.movie.summary;
}
Thanks