johnvuko / JTCalendar

A customizable calendar view for iOS.
MIT License
2.76k stars 535 forks source link

Swift 3.2 support? #360

Open ghost opened 6 years ago

ghost commented 6 years ago

I installed JTCalendar on my project using cocoa pods and get several errors over legacy version (like missing JTCalendarDataSource). Is JTCalendar swift 3.2 compatible?

johnvuko commented 6 years ago

It works with Swift 4 so I think it works also with Swift 3.2. You just have to import the module in your controller with:

import JTCalendar
ghost commented 6 years ago

Hi jonathan i installed by cocoapods, but i havw some issues like jtcalendardatasource, is there a migration wiki to guide us to fix our previous version? Thank you for your repply

Enviado do meu iPhone

Em 10 de nov de 2017, às 08:58, Jonathan Tribouharet notifications@github.com<mailto:notifications@github.com> escreveu:

It works with Swift 4 so I think it works also with Swift 3.2. You just have to import the module in your controller with:

import JTCalendar

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/jonathantribouharet/JTCalendar/issues/360#issuecomment-343443114, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AHoH0sJ1zYpn5krCx59J62Q15SV-zjy-ks5s1Cw5gaJpZM4QY89m.

johnvuko commented 6 years ago

No, it's a full rewrite, there is no migration guide between the 1.x and the 2.x version. I think, you have very few change to do to fix the bug you have, maybe something in the bridging header. Sorry I can't help you more.

ghost commented 6 years ago

ok thank you Jonathan!


De: Jonathan Tribouharet notifications@github.com Enviado: sexta-feira, 10 de novembro de 2017 04:34:24 Para: jonathantribouharet/JTCalendar Cc: TheMajorTom; Author Assunto: Re: [jonathantribouharet/JTCalendar] Swift 3.2 support? (#360)

No, it's a full rewrite, there is no migration guide between the 1.x and the 2.x version. I think, you have very few change to do to fix the bug you have, maybe something in the bridging header. Sorry I can't help you more.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/jonathantribouharet/JTCalendar/issues/360#issuecomment-343450711, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AHoH0vF92KK0Rox_A1qKm_rsI2t51u_iks5s1DTAgaJpZM4QY89m.