they
> exist in the global scope and it is good to consider the ramifications of
> what even something as simple as comparison of dates has in general.
>
> On Dec 5, 2015, at 3:36 PM, Chris Amanse via swift-corelibs-dev <
> swift-corelibs-dev@swift.org> wrote:
>
> Hello Swif
Hello Swift Developers,
I think it's a good idea to conform NSDate to the Comparable protocol, so
instead of using:
if someDate.compare(today) == .OrderedAscending { }
Developers can easily compare using compare dates using comparison
operators:
if someDate < today { }
In my opinion, the code