The way I know I can view the automatically-translated Swift versions of Cocoa APIs is by command-clicking a Cocoa type in Xcode. For example, here\'s what is generated for
It turns out the modern (non-"deprecated") REPL has a way of doing this too. Rather than :print_module, you can use :type lookup:
:print_module
:type lookup
echo -e "import CoreGraphics\n:type lookup CoreGraphics" | swift