Have the following code running in 7.0 beta (7A120f) - didn't see that as a topic in the "beta" forum...adjusting to the forum change.
let dateComponentsFormatter = NSDateComponentsFormatter() dateComponentsFormatter.allowedUnits = NSCalendarUnit.Day | NSCalendarUnit.Hour | NSCalendarUnit.Minute | NSCalendarUnit.Second
Receiving the following build error: Binary operator '|' cannot be applied to two NSCalendarUnit operands.
Did not see this error in Xcode 6, not sure if this should be filed as a bug report at this juncture. Other solutions offered by the interwebs proving unviable.
Thoughts?
Cheers,
Josh