I have Objective-C Protocol
@protocol SomeObjCProtocol
- (BOOL) doSomethingWithError: (NSError **)error;
@end
And Swift class
class SwiftClass : SomeObjCProtocol
{
func doSomething() throws {
}
}
Compilers gives me an error
Type 'SwiftClass' does not conform to protocol 'SomeObjCProtocol'"
Is there any solution how to get rid of this error?
I'm using XCode 7 Beta 4