 		self.label.lineBreakMode = .ByTruncatingTail
 		self.label.highlightedTextColor = UIColor.blackColor()
 		self.label.font = self.font
-		self.label.autoresizingMask =
-			.FlexibleTopMargin |
-			.FlexibleLeftMargin |
-			.FlexibleBottomMargin |
-			.FlexibleRightMargin;
+		self.label.autoresizingMask = [.FlexibleTopMargin, .FlexibleLeftMargin, .FlexibleBottomMargin, .FlexibleRightMargin]
 		self.contentView.addSubview(self.label)
 
 		self.imageView = UIImageView(frame: self.contentView.bounds)
 		self.imageView.backgroundColor = UIColor.clearColor()
 		self.imageView.contentMode = .Center
-		self.imageView.autoresizingMask = .FlexibleWidth | .FlexibleHeight;
+		self.imageView.autoresizingMask = [.FlexibleWidth, .FlexibleHeight]
 		self.contentView.addSubview(self.imageView)
 	}
 

			if self.collectionView!.numberOfSections() > 0 {
				for i in 0 ..< self.collectionView!.numberOfItemsInSection(0) {
					let indexPath = NSIndexPath(forItem: i, inSection: 0)
					attributes.append(self.layoutAttributesForItemAtIndexPath(indexPath))
				}
			}
			return attributes

		self.collectionView.showsHorizontalScrollIndicator = false
		self.collectionView.backgroundColor = UIColor.clearColor()
		self.collectionView.decelerationRate = UIScrollViewDecelerationRateFast
		self.collectionView.autoresizingMask = [UIViewAutoresizing.FlexibleWidth, UIViewAutoresizing.FlexibleHeight]
		self.collectionView.dataSource = self
		self.collectionView.registerClass(
			AKCollectionViewCell.self,
