Fix typos in header comments
Expand explanation on delegate selectors Thanks to Christoph Ludwig for noting these issues!
Showing
1 changed file
with
6 additions
and
6 deletions
| @@ -237,13 +237,13 @@ extern unsigned long const ASIWWANBandwidthThrottleAmount; | @@ -237,13 +237,13 @@ extern unsigned long const ASIWWANBandwidthThrottleAmount; | ||
| 237 | // This lock prevents the operation from being cancelled at an inopportune moment | 237 | // This lock prevents the operation from being cancelled at an inopportune moment |
| 238 | NSRecursiveLock *cancelledLock; | 238 | NSRecursiveLock *cancelledLock; |
| 239 | 239 | ||
| 240 | - // Called on the delegate when the request starts | 240 | + // Called on the delegate (if implemented) when the request starts. Default is requestStarted: |
| 241 | SEL didStartSelector; | 241 | SEL didStartSelector; |
| 242 | 242 | ||
| 243 | - // Called on the delegate when the request completes successfully | 243 | + // Called on the delegate (if implemented) when the request completes successfully. Default is requestFinished: |
| 244 | SEL didFinishSelector; | 244 | SEL didFinishSelector; |
| 245 | 245 | ||
| 246 | - // Called on the delegate when the request fails | 246 | + // Called on the delegate (if implemented) when the request fails. Default is requestFailed: |
| 247 | SEL didFailSelector; | 247 | SEL didFailSelector; |
| 248 | 248 | ||
| 249 | // Used for recording when something last happened during the request, we will compare this value with the current date to time out requests when appropriate | 249 | // Used for recording when something last happened during the request, we will compare this value with the current date to time out requests when appropriate |
| @@ -400,13 +400,13 @@ extern unsigned long const ASIWWANBandwidthThrottleAmount; | @@ -400,13 +400,13 @@ extern unsigned long const ASIWWANBandwidthThrottleAmount; | ||
| 400 | 400 | ||
| 401 | #pragma mark handling request complete / failure | 401 | #pragma mark handling request complete / failure |
| 402 | 402 | ||
| 403 | -// Called when a request starts, lets the delegate now via didStartSelector | 403 | +// Called when a request starts, lets the delegate know via didStartSelector |
| 404 | - (void)requestStarted; | 404 | - (void)requestStarted; |
| 405 | 405 | ||
| 406 | -// Called when a request completes successfully, lets the delegate now via didFinishSelector | 406 | +// Called when a request completes successfully, lets the delegate know via didFinishSelector |
| 407 | - (void)requestFinished; | 407 | - (void)requestFinished; |
| 408 | 408 | ||
| 409 | -// Called when a request fails, and lets the delegate now via didFailSelector | 409 | +// Called when a request fails, and lets the delegate know via didFailSelector |
| 410 | - (void)failWithError:(NSError *)theError; | 410 | - (void)failWithError:(NSError *)theError; |
| 411 | 411 | ||
| 412 | #pragma mark parsing HTTP response headers | 412 | #pragma mark parsing HTTP response headers |
-
Please register or login to post a comment