ios - JTCalendar Objective-C to Swift translation -
i'm having issue here trying translate objective-c
codes swift
[self.calendar setmenumonthsview:self.calendarmenuview]; [self.calendar setcontentview:self.calendarcontentview]; [self.calendar setdatasource:self];
i downloaded https://github.com/jonathantribouharet/jtcalendar , trying translate viewcontroller.m codes.
i've tried self.calendar = self.calendarmenuview.setmenumonthsview
doesn't work.
please help.
i'm using jtcalendar in swift. code is
self.calendar.menumonthsview = self.calendarmenuview self.calendar.contentview = self.calendarcontentview self.calendar.datasource = self
Comments
Post a Comment