before Swift3, in a my project I used this function:
var components = (calendar as NSCalendar).components([.year, .monthSymbols, .firstWeekday, .timeZone, .hour, .minute], from: data_corrente)
Now I'm changing the project using swift 3 (xCode8 beta5) but I have this error:
Type 'NSCalendar.Unit has no member 'monthSymbol'
Can someone explain where is the problem and help me to solve it? I think is a migration problem