title: IOS duplicate interface definition
body: <p>hello i have the code below on my .h file </p>
  
  <pre><code>import &lt;UIKit/UIKit.h&gt;
  
  
  @interface NSFont : NSObject &lt;NSCoding&gt; {
  
  }
  
  @end
  
  
  @interface NSParagraphStyle : NSObject &lt;NSCoding&gt; {
  
  }
  
  @end
  </code></pre>
  
  <p>and i get that error : </p>
  
  <blockquote>
    <p>error: duplicate interface definition for class 'NSParagraphStyle'</p>
  </blockquote>
  
  <p>i have no includes and no duplicates as pointed by some users</p>
  
  <p>main.m imports</p>
  
  <pre><code>#import &lt;UIKit/UIKit.h&gt;
  </code></pre>
  
  <p>pref</p>
  
  <pre><code>#ifdef __OBJC__
      #import &lt;Foundation/Foundation.h&gt;
      #import &lt;UIKit/UIKit.h&gt;
  #endif
  </code></pre>