JTCalendar icon indicating copy to clipboard operation
JTCalendar copied to clipboard

Swift 2.2 issue

Open seport opened this issue 8 years ago • 1 comments

Hi we have your library in our app and when we update to xcode 7.3 we see errors regarding undefined constants where we refer to them in Swift code

Errors: Use of undeclared type 'JTCalendarMonthBlock' Use of unresolved identifier 'JTCalendarWeekDayLetterCase' Use of unresolved identifier 'JTCalendarWeekDayLetterCase'

Sample usage (from viewDidLoad method) self.calendar.calendarAppearance.weekDayLetterCase = JTCalendarWeekDayLetterCase.Default

Is anyone else seeing this issue? Is there a quick fix we are not seeing?

seport avatar Mar 23 '16 21:03 seport

I think you are using older version of JTCalendar......because in newer version calendarAppearance is not available...try new updated version

nirmaIntelliswift avatar Mar 29 '16 10:03 nirmaIntelliswift