Quelle est la syntaxe objective-c pour documenter l'utilisation d'une méthode? Est-ce fait dans le fichier .h ou .m?Méthode 'documentation'
En C# on utilise quelque chose comme:
/// <summary>
/// Executes an HTTP GET command and retrieves the information.
/// </summary>
/// <param name="url">The URL to perform the GET operation</param>
/// <param name="userName">The username to use with the request</param>
/// <param name="password">The password to use with the request</param>
/// <returns>The response of the request, or null if we got 404 or nothing.</returns>
protected string ExecuteGetCommand(string url, string userName, string password) {
...
}
Est-ce fait avec la directive #pragma?
Merci,
Craig Buchanan
'/ **' semble fonctionner aussi – davis