title: Accessing Relationship Objects (CoreData)
body: <p>In my core data model I have two entities, let's call them A and B, A holds multiple B objects (<code>A&lt;--&gt;&gt;B</code>). <code>allBObjects</code> is the To-Many Relationship that holds the B objects.</p>
  
  <p>As this code</p>
  
  <pre><code>[[AObject valueForKey:@"allBObjects"] count];
  </code></pre>
  
  <p>works, I thought that this should work too:</p>
  
  <pre><code>[[AObject valueForKey:@"allBObjects"] objectAtIndex:index];
  </code></pre>
  
  <p>However it doesn't, as the relationship objects do not seem to be stored as arrays. Does anybody know how to access objects in <code>allBObjects</code> of <code>AObject</code>?</p>
  
  <p>I would appreciate some help, Fabian</p>