Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

mosthelpfulreviews

  • Loading branch information...
commit 4693a7ca998a526482cbf99a9c30a72346970bcd 1 parent 0439d3c
Terese authored

Showing 1 changed file with 1 addition and 7 deletions. Show diff stats Hide diff stats

  1. +1 7 Restaurants/DetailViewController.m
8 Restaurants/DetailViewController.m
@@ -62,13 +62,7 @@ - (void)viewDidLoad
62 62
63 63 NSArray* array = [[NSArray alloc] initWithObjects:review1, review2, review3, review4, nil];
64 64 NSArray* reviews = [restaurant reviews];
65   - for (int i = 0; i < [reviews count]; i++) {
66   - Review* review = [reviews objectAtIndex:i];
67   - NSLog(@"Review Text: %@", review.text);
68   - for (Review* review in [restaurant reviews]) {
69   - NSLog(@"Review Text: %@", review.text);
70   - }
71   - }
  65 +
72 66
73 67 addressLabel.text = [restaurant address];
74 68 navigationHeader.title = [restaurant name];

0 comments on commit 4693a7c

Please sign in to comment.
Something went wrong with that request. Please try again.