I have this code for animating a table:
UIView.animateWithDuration(0.33, delay: 0, options: UIViewAnimationOptions.CurveEaseOut | UIViewAnimationOptions.AllowUserInteraction, animations: { () -> Void in
self.myTableView.setContentOffset(CGPoint(x: 0, y: offSetY), animated: false)
}, completion: nil)
I want to have the additional option UIViewAnimationOptions.AllowUserInteraction
but I get the error: "| cannot be applied to two UIViewAnimationOptions operands". How can I add this? Works in objective-c.