naoty / Timepiece

Intuitive date handling in Swift
MIT License
2.63k stars 147 forks source link

swift3 #58

Closed natemann closed 8 years ago

natemann commented 8 years ago

Converted syntax to swift3

skofgar commented 8 years ago

@natemann does this work for you? I am using Xcode Beta 6 and it does not seem to work. I tried converting it myself as well, but it looks like there is more to it. I think some API's have changed and the conversion itself seems to be buggy (with selectors etc..). Especially Calendar.current().responds or Calendar.current.responds does not seem to work, because Calendar does not conform NSObject like NSCalendar does...