Im creating a UIView animation:
UIView.animateWithDuration(0.1,
delay: 0,
options: (.AllowUserInteraction | .Repeat | .Autoreverse),
animations:
{ () -> Void in
},
completion: nil)
But the compiler says: “Could not find the Autoreverse member,” or whatever bitmask would be at the end, unless one option exists. Syntax changed in Swift 2? I don't see anything in Swift docs and don't remember anything in WWDC reports.
Or could it just be a mistake?
Thanks in advance
source
share