Convert to Swift 4.0 syntax
This commit is contained in:
@@ -46,7 +46,7 @@ open class WemoCellView: UICollectionViewCell
|
||||
if (self.isHighlighted) {
|
||||
_selectionOverlayView.backgroundColor = UIColor(white: 0.8, alpha: 1.0)
|
||||
} else {
|
||||
let animOptions = UIViewAnimationOptions([.allowUserInteraction])
|
||||
let animOptions = UIView.AnimationOptions([.allowUserInteraction])
|
||||
UIView.animate(withDuration: 1.0, delay: 0.0, options: animOptions, animations: {
|
||||
self._selectionOverlayView.backgroundColor = UIColor.clear
|
||||
}, completion: nil)
|
||||
|
||||
Reference in New Issue
Block a user