I have a protocol, and I\'d like to have a variable of type UIViewController implementing mu protocol. If I try to do something like:
var delegate:UIViewCon
If the class implements a protocol you don't care about which class it actually is. This should work:
var delegate: BouncingMenuDelegate?