title: Forward-declare enum in Objective-C
body: <p>I'm having trouble with enum visibility in an Objective-C program. I have two header files, and one defines a <code>typedef enum</code>. Another file needs to use the <code>typedef</code>'d type.</p>
  
  <p>In straight C, I would simply <code>#include</code> the other header file, but in Objective-C, it's recommended not to use <code>#import</code> between header files, instead using forward <code>@class</code> declarations as needed. However, I can't figure out how to forward-declare an enumeration type.</p>
  
  <p>I don't need the actual enumerated values, except in the corresponding <code>.m</code> implementation file, where I can safely <code>#import</code> away. So how can I get the <code>typedef enum</code> to be recognized in the header? </p>