A number of questions asking how to call various Objective-C APIs in Swift, or why overriding certain methods or properties "doesn't work", can be answered just by looking at the Swift representation of the Objective-C API.
In Xcode, simply Command-click on a symbol (such as NSView or UIView) and Xcode will present the corresponding header file as it is represented in Swift, for example:
The API Reference in the documentation also shows both Swift and Objective-C forms: