Permalink
Browse files

mosthelpfulreviews

  • Loading branch information...
1 parent 0439d3c commit 4693a7ca998a526482cbf99a9c30a72346970bcd @tvillia committed May 10, 2012
Showing with 1 addition and 7 deletions.
  1. +1 −7 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];

0 comments on commit 4693a7c

Please sign in to comment.