I think this is a known issue. You can work around it by jumping through
another function:
import Foundation
protocol MyProtocol {
init(foo: Int, bar: String)
}
class MyOperation: Operation, MyProtocol {
required init(foo: Int, bar: String) {
super.init()
}
}
private func makeMyProtoHel
I am trying to construct an object that conforms to a protocol `A` and also
sublclasses object `B`. Protocol `A` requires an initializer that will be used
to construct it. Xcode will attempt to autocomplete the initializer but then
ultimately gives the following error:
`error: argument passed