plz help me I had been used the third party FSCalender in my project after upgraded to swift 3 it show the error
func maximumDate(for calendar: FSCalendar!) -> Date! {
let date = Date()
let dayString: String = calendar.string(from: date, format: "dd")
let monthString: String = calendar.string(from: date, format: "MM")
let yearString: String = calendar.string(from: date, format: "yyyy")
return calendar.date(withYear: 2099, month: 12, day: 31)
}