title: Why is my property inaccessible for a class in different folder
body: <p>I'm noticing something really strange.</p>
  
  <p>I have a class A with a property:</p>
  
  <pre><code> @interface ClassA
   @property (nonatomic, strong) NSString *test;
  </code></pre>
  
  <p>and a synthesize in the .m file.</p>
  
  <p>now if I have a second class B as following:</p>
  
  <pre><code> #import "ClassA.h"
  
   -(void) someMethod
   {
        ClassA *classA = [[ClassA alloc] init];
        classA.test = @"test";
   }
  </code></pre>
  
  <p>than this works fine if the 2 class files are in the same folder.</p>
  
  <p>If I however move the files to separate subfolders, it won't work anymore.
  The error I get is that the property doesn't exist. Similarly, 'intellisense' won't show the test property anymore.</p>
  
  <p>If I make folder groups in xcode, but leave the actual files in the same physical folder, it does work.</p>
  
  <p>Whats going on here?</p>
  
  <p>It can't be an include path problem, since then I wouldn't even be able to instantiate ClassA.</p>