i am trying to overwrite the NSURLConnection Delegate but i dont know where to start, can someone please give some more kind of informations and a little bit sample code?
I want to extend the connectionDidFinishLoading delegate. And keep looking if the JSON-String i am becoming back got some error reporting for the user.
it seems to me the best way to extend the delegate. It is even possible?
Extending a protocol will let you add methods to it. However, if you add more methods to
<NSURLConnectionDelegate>, that won’t mean thatNSURLConnections will use them 🙂Why can’t you put your error checking code in your
connectionDidFinishLoadingmethod i.e.