I just updated Xcode to its 6.3 version.
Except all the fixes I have to make regarding as
(mainly), I have some warnings that just appeared (which is we
Use .CalendarUnitDay
. NSCalendar is a native Objective-C framework and the error messages aren't for swift.
in Xcode 7.3 use .Day which is a property of NSCalendarUnit struct
I think Apple thought the name of those units weren't meaningful like .DayCalendarUnit, so they have modified it to sound more sensible and explanative as .CalendarUnitDay.
Similar modifications have been done in Objective-C. NSDayCalendarUnit is deprecated and you have to use NSCalendarUnitDay.
The problem in your case is that you are receiving deprecation warning of Objective-C instead of Swift. We hope Apple fixes it soon.
Hope that explains...