Setting The Delegate of an AVAudioPlayer Instance
Sorry if this is a stupid question, but I have come across a problem when setting the delegate property of an AVAudioPlayer instance. 

In my program, I create 4 AVAudioPlayer instances. These are all in a class called ShapeView, derived from NSObject. I am not sure exactly what I am supposed to set the delegate to, and when I set it to 'self' it gives me the warning: "Sending 'ShapeView *const_strong to parameter of incompatible type 'id<AVAudioPlayerDelegate>'" 

I am a relatively inexperienced programmer playing around with sounds, so any help would be aprreciated.

Thanks!
Setting The Delegate of an AVAudioPlayer Instance
===

Sorry if this is a stupid question, but I have come across a problem when setting the delegate property of an AVAudioPlayer instance. 

In my program, I create 4 AVAudioPlayer instances. These are all in a class called ShapeView, derived from NSObject. I am not sure exactly what I am supposed to set the delegate to, and when I set it to 'self' it gives me the warning: "Sending 'ShapeView *const_strong to parameter of incompatible type 'id<AVAudioPlayerDelegate>'" 

I am a relatively inexperienced programmer playing around with sounds, so any help would be aprreciated.

Thanks!