Avatar
タイトルしか読んでないけど↓で変わったりしないのかな? https://forums.swift.org/t/objective-c-interoperability-eliminate-nsobjectprotocol/9947
Hi all, TL;DR I propose to completely eliminate the NSObject protocol (called NSObjectProtocol) from Swift, leaving only a deprecated typealias (to AnyObject) as a backward-compatibility shim. Motivation The Objective-C NSObject protocol, imported into Swift as NSObjectProtocol, is more harmful than helpful in Swift: The API it provides is not particularly useful in Swift, either because the functionality is better expressed via Swift language features (is and as? rather an isKind(of:) or c...