title: I cannot initialize a NSInputStream
body: <p>Please help me, im going insane.
  I need to create an <code>NSInputStream</code> so i can read a live preview from a camera over wifi.
  liveViewStream is an <code>NSInputStream</code>-Instance-Variable that is declared in my implementation like so:</p>
  
  <pre><code>@implementation MKSonyCamHandler{
      NSInputStream *liveViewStream;
  }
  </code></pre>
  
  <p><code>liveViewURL</code> is a valid URL that i can open in my browser when i connect to the camera's network (although i dont think that this makes any difference). I have checked that it exists, is not nil and holds the value that i expect.
  But when i do this:</p>
  
  <pre><code>liveViewStream = [[NSInputStream alloc] initWithURL:liveViewURL];
  DLog(@"%@", liveViewStream);
  </code></pre>
  
  <p>The DLog after the alloc-init commands will log "(null)" every time, and ill be damned if i know why. Has anybody ever encountered this? Am i missing something glaringly obvious here?
  Its my first time working with <code>NSStreams</code>, is there a common pitfall that might be the reason?
  The docs clearly state that -initWithURL:</p>
  
  <pre><code>Creates and returns an initialized NSInputStream object that reads data from
  the file at a given URL.
  </code></pre>
  
  <p>Any ideas? Im starting to feel really stupid here.</p>
  
  <p>EDIT: i am using ARC.</p>