views:

39

answers:

1

Before my view loads I call:

[theConnection cancel]; //assume theConnection is an NSURLConnection

I then proceed and make my proper NSURLConnection.

Will calling cancel before a connection is even made cause any problems?

A: 

No, the NSURLConnection documentation makes it clear that cancel is possible and that the delegate will receive no further messages once it is called. Also that the delegate is released on cancel.

Adam Eberbach