Friday April 15, 2011

Subclassing NSInputStream

Great tutorial on how to subclass an NSInputStream so it works in url requests. He has a working demo on github, too. This is useful if you need to provide some kind of progress bar during a download or want to encrypt the data stream while it comes in.