title: Iterating over core-data passed to a view
body: <p>I am passing data to the view using this method:</p>
  
  <pre><code>nextViewController = [[AfricanSwallowViewController alloc] initWithNibName:@"AfricanSwallowView" bundle:nil];
  ((InstructionsViewController *)nextViewController).byTheHusk = byTheHusk;
  </code></pre>
  
  <p>I am trying to iterate over the values on the view that byTheHusk gets passed to.</p>
  
  <p>I have tried several versions of <code>NSLog(@"%@", byTheHusk.name);</code> and using <code>objectAtIndexPath</code> etc. with no luck</p>
  
  <p>Is there a way to access the the objects entries attributes in a <code>while</code> or <code>for</code> loop style structure?</p>
  
  <p>The closest I can get is:</p>
  
  <pre><code>NSManagedObject *managedObject = [self.fetchedResultsController objectAtIndexPath:0];
  NSLog(@"%@",[[managedObject valueForKey:@"name"] description]);
  </code></pre>
  
  <p>which results in:</p>
  
  <p><code>ByTheHusk[7880:207] (null)</code></p>
  
  <p>Which means there are 207 entries. Is that right? and that ByTheHusk is getting passed correctly?</p>
  
  <p>I am a noob to this all so thanks for any help!!!</p>
  
  <p>Bo</p>