title: Using PHImageManager in swift (requestAVAssetForVideo)
body: <p>I am using an objective-c image picker image picker to pick a time lapse but I am doing it in swift. I only had access to the objective-c code so I used a objective-c to swift converter and I have an error. </p>
  
  <pre><code>func qb_imagePickerController(imagePickerController: QBImagePickerController, didFinishPickingAssets assets: [AnyObject]) {
      for asset in assets as! [PHAsset] {
          PHImageManager.defaultManager().requestAVAssetForVideo(asset, options: nil, resultHandler: {(avAsset: AVAsset, audioMix: AVAudioMix, info: [NSObject : AnyObject]) -&gt; Void in
              var url: NSURL = NSURL(string: "\(asset)")!
              var avAsset: AVURLAsset = AVURLAsset(URL: url, options: nil)
              var playerItem: AVPlayerItem = AVPlayerItem(asset: avAsset)
              var videoPlayer: AVPlayer = AVPlayer(playerItem: playerItem)
              videoPlayer.play()
          })
      }
      self.dismissViewControllerAnimated(true, completion: { _ in })
  }
  </code></pre>
  
  <p>This is the code I have currently. The error I am receiving is below. </p>
  
  <blockquote>
    <p>Cannot convert value of type '(AVAsset, AVAudioMix, [NSObject : AnyObject]) -> Void' to expected argument type '(AVAsset?, AVAudioMix?, [NSObject : AnyObject]?) -> Void'</p>
  </blockquote>