If you want to find out what arguments the print function takes, you can do that easily in Xcode. Position the cursor over the function name print and then option-click to display a popup window. From there, follow the links for more information.
If, however, you are after the source code for the print function itself, start from swift.org.