Jtapplecalendar: JTCalendar problems with translation to swift 3

Created on 20 Dec 2016  路  17Comments  路  Source: patchthecode/JTAppleCalendar

Translating the library JTCalendar to swift 3 i get 3 errors which i cannot seam to resolve. One is "Redundant conformance of 'Date' to protocol 'Comparable'". The second one is "Cannot convert value of type 'qos_class_t' to expected argument type 'DispatchQos.QosClass'". The third is "Binary operator '===' cannot be applied to two 'Date' operands"
Thanks

question

All 17 comments

@thintank what version of This library are you using?
The version should be 6.1.0

?

Also, this is JTAppleCalendar not JTCalendar. possible wrong repository?

Yes, it's JTAppleCalendar, my mistake. The version should be automatically the latest installing the pods.

From what i know. I could be wrong

What do you have in your Podfile?
Paste it here

There should be no errors in this project

source 'https://github.com/CocoaPods/Specs.git'
pod 'JTAppleCalendar'

these are the two lines I added to the podfile, reguarding JTAppleCalendar

Can you try ?

pod 'JTAppleCalendar', '~> 6.1'

then do a pod install and tell me what happens

If you are still getting errors. Then delete the JTAppleCalendar pod folder.
and reinstall

ok thank you i'll try that now

if it works, you owe me a github star rating for being up at 3:12 AM helping ya 馃榿

Ah ah ah ah ah ah I'm in Italy and here it's a more resonable noon

ok well let me know how it goes. Im heading to sleep.
laters man.

will do! thanks

so umm... did it work?

Still working on it. Somehow the pods got all messed up and I'm working on updating the cocoapod repo

cool.

ok it seems to be working now. i have to implement it correctly and if i have any problems i'll let you know. thank you so much

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nikolalukovic picture nikolalukovic  路  4Comments

gotamafandy picture gotamafandy  路  3Comments

Geekbell picture Geekbell  路  4Comments

Kevinw14 picture Kevinw14  路  3Comments

zhanswift picture zhanswift  路  5Comments