as Int @objc protocol SomeProtocol { func something() -> String } class SomeClass: SomeProtocol { func something() -> String { return "Something awesome" } } let some: AnyObject = SomeClass() if some is SomeProtocol { println((some as SomeProtocol).something()) } Swift 1.1