[swift] The use of Swift 3 @objc inference in Swift 4 mode is deprecated?