title: I cannot get the integer value from unsafeMutablePointer<32> in swift
body: <p>I use swift and obj-c classes together in my project. </p>
  
  <p>And I declare this in obj-c header file.</p>
  
  <pre><code>@property (nonatomic, copy) NSString *AppStoreId;
  </code></pre>
  
  <p>I want to use this obj-c code in my swift class:</p>
  
  <pre><code>NSDictionary *productParameters = @{ SKStoreProductParameterITunesItemIdentifier : [NSNumber numberWithInt:[appItem.AppStoreId intValue]]};
  </code></pre>
  
  <p>I convert it to swift like this:</p>
  
  <pre><code>var productParameters : NSDictionary = SKStoreProductParameterITunesItemIdentifier(NSNumber.numberWithInt(appItem.AppStoreId))
  </code></pre>
  
  <p>However, it gives me an error which says "UnsafeMutablePointer &lt; Int32>" is not convertible to "Int32"</p>
  
  <p>I also tried this:</p>
  
  <pre><code>var productParameters : NSDictionary = SKStoreProductParameterITunesItemIdentifier(NSNumber.numberWithInt(appItem.AppStoreId(IntegerType)).intValue)
  </code></pre>
  
  <p>But this time it gives me an error about using of IntegerType. 
  I don't know what should I do. I am a beginner in swift and objective c. 
  Thank you for any help.</p>