Swift doumentation

Added some Swift-specific documentation.