 	
     func collectionView(collectionView: UICollectionView, didSelectItemAtIndexPath indexPath: NSIndexPath) {
         let asset = self.assets![indexPath.row]
-		asset.fetchAVAssetWithCompleteBlock { (avAsset) -> Void in
-			dispatch_async(dispatch_get_main_queue(), { () -> Void in
+		asset.fetchAVAssetWithCompleteBlock { (avAsset) in
+			dispatch_async(dispatch_get_main_queue(), { () in
 				self.playVideo(avAsset!.URL)
 			})
 		}


import UIKit
import MediaPlayer

class ViewController: UIViewController, UITableViewDataSource, UITableViewDelegate, UICollectionViewDataSource, UICollectionViewDelegate {
    var player: MPMoviePlayerController?

			let layout = collectionView.collectionViewLayout as! UICollectionViewFlowLayout
			let tag = indexPath.row + 1
			cell.tag = tag
			asset.fetchImageWithSize(layout.itemSize.toPixel(), completeBlock: { image in
				if cell.tag == tag {
					imageView.image = image
				}
