記錄方法使用情況的objective-c語法是什麼?這是在.h或.m文件中完成的嗎?方法'文檔'
在C#一個使用類似:
/// <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) {
...
}
這是與#pragma指令做了什麼?
感謝,
克雷格·布坎南
`/ **`似乎也工作 – davis 2014-10-24 02:26:53