sayguh
sayguh

Reputation: 2550

Why is Apple's documentation of NSURLConnectionDelegate protocol reference seemingly missing stuff?

http://developer.apple.com/library/mac/#documentation/Foundation/Reference/NSURLConnectionDelegate_Protocol/Reference/Reference.html#//apple_ref/occ/intf/NSURLConnectionDelegate

Just wondering why this protocol reference doesn't include information on methods like "didReceiveData", "connectionDidFinishLoading" ? etc.

Are they deprecated or something? They don't come up in autocomplete anymore either.

Is there a new way you are supposed to receive and append the data?

Upvotes: 1

Views: 363

Answers (1)

Amy Worrall
Amy Worrall

Reputation: 16337

They're in the protocol NSURLConnectionDataDelegate. In earlier versions of iOS they were in an informal protocol, but since iOS 5 they were in the new NSURLConnectionDataDelegate protocol.

Upvotes: 4

Related Questions