title: Can an objective C method signature specify an enum type?
body: <p>"VoiceName" is an enum, declared like this:</p>
  
  <pre><code>enum VoiceName {
   PAD_RHYTHM,
   PAD_RHYTHM2,
   PAD_RHYTHM3,
   PEEPERS,
   ATMOSPHERE,
   IMPULSE,
   FAST_PULSE,
   HAIRYBALLS_PADS,
   KICK
  };
  </code></pre>
  
  <p>The compiler doesn't seem to like me using it in a method signature like this:</p>
  
  <pre><code>-(void)pulseFiredWithSamplePosition:(float)position from: (VoiceName) voiceName;
  </code></pre>
  
  <p>It tells me <em>expected ')' before 'VoiceName'</em>. What's going on here?</p>