What's wrong with my sub-classed AVAudioPlayer?
<p>I sub-classed AVAudioPlayer like so:</p>

<pre><code>#import &lt;AVFoundation/AVFoundation.h&gt;

@interface AudioPlayer : AVAudioPlayer {
    // irrelevant objects...
}
-(void) myMethod;
@end
</code></pre>

<p>I also placed myMethod in the implementation.  In another class, I instantiate the sub-class (not AVAudioPlayer) and import the header.</p>

<p>When I attempt to call myMethod, I get the error:</p>

<p>[AVAudioPlayer myMethod]: unrecognized selector sent to instance</p>

<p>I'm certain I created an AudioPlayer class, not AVAudioPlayer, so what gives?</p>
