I was looking at the NSURLConnection class today, specifically researching method:
- (void) connection: (NSURLConnection *) conn didFailWithError:(NSError *)error {
Turns out it is deprecated. Documentation seems to offer no hints as to the replacement of this method. How should i proceed finding it please?


In most cases, deprecation notices include the replacement method. See Deprecated UITableViewDelegate Methods and Deprecated NSFileManager Methods for an examples. In this case, the documentation is a little confusing, and you should let the doc writers know that. At the bottom of the web page there’s a place to provide feedback.
As other responders have noted, there’s little actual change here, since they just moved the old informal protocol into a formal protocol. But the docs are misleading and they should fix it.
Here’s a copy of the feedback I’ve sent: