Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

mosthelpfulreviews

  • Loading branch information...
commit 4693a7ca998a526482cbf99a9c30a72346970bcd 1 parent 0439d3c
@tvillia authored
Showing with 1 addition and 7 deletions.
  1. +1 −7 Restaurants/DetailViewController.m
View
8 Restaurants/DetailViewController.m
@@ -62,13 +62,7 @@ - (void)viewDidLoad
NSArray* array = [[NSArray alloc] initWithObjects:review1, review2, review3, review4, nil];
NSArray* reviews = [restaurant reviews];
- for (int i = 0; i < [reviews count]; i++) {
- Review* review = [reviews objectAtIndex:i];
- NSLog(@"Review Text: %@", review.text);
- for (Review* review in [restaurant reviews]) {
- NSLog(@"Review Text: %@", review.text);
- }
- }
+
addressLabel.text = [restaurant address];
navigationHeader.title = [restaurant name];
Please sign in to comment.
Something went wrong with that request. Please try again.