title: swift programming NSErrorPointer error etc
body: <pre><code>var data: NSDictionary = 
      NSJSONSerialization.JSONObjectWithData(responseData, options:NSJSONReadingOptions.AllowFragments, error: error) as NSDictionary;
  </code></pre>
  
  <p>This line of code gives me error</p>
  
  <pre><code>NSError is not convertable to NSErrorPointer.
  </code></pre>
  
  <p>So I then thought to change the code to:</p>
  
  <pre><code>var data: NSDictionary =
       NSJSONSerialization.JSONObjectWithData(responseData, options:NSJSONReadingOptions.AllowFragments, error: &amp;error) as NSDictionary;
  </code></pre>
  
  <p>which would turn the NSError error into a NSErrorPointer. But then I get a new error and cannot make sense of it:</p>
  
  <pre><code>NSError! is not a subtype of '@|value ST4'
  </code></pre>