I need to declare a variable with type UIViewController
that conforms to a custom protocol I made. Normally, I would do this in ObjC:
UIViewController<MyProtocol> *thingie;
But, I have no idea how to accomplish that in swift.
I'm just casting the object for now, till something useful shows up:
let conformingObject = viewController as MyProtocol