title: Streaming with MKNetworkKit on iOS
body: <p>I'm trying to figure out how to make MKNetworkKit working with data from stream. I can see that some data is beeing downloaded (the indicator on status bar), but I don't have any idea what happens with that data after it's actually downloaded. I put a NSLog statement inside body of <code>connection: didReceiveData:</code> but it's not called during streaming. Any pointers how to fix that issue ?</p>
  
  <p><strong>Edit</strong></p>
  
  <p>Sorry my question was inaccurate. I know how to stream to a file but I need to stream to memory (NSData instance preferably). Okay it seems simple again due to NSOutputStream method <code>initWithBytes:capacity:</code>. And my problem is here, my stream has undefined length so there would be enormous impact on memory. I don't know what to do. My perfect solution works like this. Small chunks of data from the stream are processed having been downloaded and then they are discarded. </p>