title: JSON with Dictionary - nested objects to convert to strings and display
body: <p>I came across few posts here related to what I am doing but I am working with some nested objects that I want to extract.</p>
  
  <p>This is a sample of my returned data  -  <a href="https://gist.github.com/ryancoughlin/8043604" rel="nofollow">https://gist.github.com/ryancoughlin/8043604</a></p>
  
  <p>I have this in my header so far :</p>
  
  <pre><code>#import "TideModel.h"
  
  @protocol TideModel
  @end
  
  @implementation TideModel
  
  -(id)initWithDict:(NSDictionary *)json {
      self = [super init];
      if(self) {
          self.maxheight = [dictionary valueForKeyPath:@"tide.tideSummaryStats.minheight"];
          self.minheight = [dictionary valueForKeyPath:@"tide.tideSummaryStats.maxheight"];
          self.tideSite = [dictionary valueForKeyPath:@"tide.tideInfo.tideSite"];
      }
      return self;
  }
  @end
  </code></pre>
  
  <p>I have declared a <code>property</code> for each string and i am accessing it accordingly.<br>
  But what I have above doesn't work, maybe because it wont know what to drill in to correct?... Or will it?</p>