title: Properties of object not shown in other objects
body: <p>I have one very strange problem.</p>
  
  <p>I create object DimensionItem :</p>
  
  <pre><code>#import &lt;Foundation/Foundation.h&gt;
  #import &lt;CoreData/CoreData.h&gt;
  
  @class Dimension;
  
  @interface DimensionItem : NSManagedObject
  
  @property (nonatomic, retain) NSNumber * dimItemID;
  @property (nonatomic, retain) NSString * name;
  @property (nonatomic, retain) Dimension *dimension;
  
  @end
  </code></pre>
  
  <p>In some classes I can normaly access property ouf of it, but in some object when I create</p>
  
  <pre><code>DimensionItem * item = ...
  item.name ----&gt;  Property 'name' not found on object  of type 'DimensionItem'
  </code></pre>
  
  <p>I can't access to it and even autocorrect is off.</p>
  
  <p>I include header in object :</p>
  
  <pre><code>#import "DimensionItem.h"
  </code></pre>
  
  <p>EDIT :</p>
  
  <p>There was request for initialization code :</p>
  
  <pre><code>DimensionItem * item = [cubeItem getDimensionItemWhitDimensionID:self.dimensionID andDimensionItemID:[obj1 dimensionItemIndex]];
  </code></pre>
  
  <p>cubeitem is another NSManagedObject created which core data which has one-to-many relations with Dimension which has one-to-many relations with DimensionItem.</p>
  
  <p>Function calculate position in set and return DimensionItem.</p>
  
  <p>As I said, in some object this same function work with </p>
  
  <pre><code>item.name
  </code></pre>
  
  <p>but others don't</p>