I\'m wondering if there is some new and awesome possibility to get the amount of days between two NSDates in Swift / the \"new\" Cocoa?
E.g. like in Ruby I would do:
Nice handy one liner :
extension Date { var daysFromNow: Int { return Calendar.current.dateComponents([.day], from: Date(), to: self).day! } }