Avatar
@swift-5.5.3 import Foundation @objc protocol P { func foo() -> NSObject? } class S: NSObject, P { func foo() -> NSObject { self } } (edited)