OK to retain ASIHTTPRequest delegate?
Is it OK to retain a delegate of a subclass of ASIHTTPRequest ? I made a subclass of ASIHTTPRequest called JSONRequest . Each instance of JSONRequest is its own delegate, handles the callbacks, and passes them on to jsonDelegate , which is a private property of JSONRequest , and responds to requestFinished:withResult: , where result is an NSDictionary representation of the JSON response. To do this, I overloaded setDelegate: in JSONRequest to do super.delegate = self; self.jsonDelegate = newDelegate . Is it OK to retain jsonDelegate in this case because often jsonDelegate is a view controller,