After rewriting a few apps to use NSUrlConnection, I came up with a useful wrapper class to handle connections, which I thought other people might find useful. The class not only transforms the classic delegate pattern into Action parameters, but also takes care of displaying the iPhone spinning wheel and keeps track of connections, so they can be all killed at once (useful when the user moves to a different tab in an app, for example).
|
1
touches |
|
|||


No comments yet, be the first one to post comment.