What if...
FooBar.framework defines :
public protocol A {
func foo()
}
public type B: A {
public func foo () {
… implementation …
}
}
Other module defines :
import FooBar
extension A {
func foo() { .. default implementation … }
}
Jérôme
> Le 27 avr. 2016 à 19:10, Erica Sadun via swift-evolution
> <[email protected]> a écrit :
>
> protocol A {
> func foo()
> }
>
> extension A {
> func foo() { .. default implementation … }
> }
>
> type B: A {
>
> override required func foo () { … overrides implementation … }
> }
_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution