Here is a basic class documentation example:
/// Class description
class Student {
// Member description
var name: String
/// Method description
///
/// - parameter content: parameter description
///
/// - returns: return value description
func say...
/**
Adds user to the list of poople which are assigned the tasks.
- Parameter name: The name to add
- Returns: A boolean value (true/false) to tell if user is added successfully to the people list.
*/
func addMeToList(name: String) -> Bool {
// Do something....
...