Wie lautet die objektive Syntax für die Dokumentation der Verwendung einer Methode? Ist das in der .h oder .m Datei gemacht?Methode 'Dokumentation'
In C# verwendet man so etwas wie:
/// <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) {
...
}
Ist das mit der Pragma Direktive getan?
Danke,
Craig Buchanan
'/ **' scheint auch zu arbeiten – davis