Seems to me that anything with `-compare:` could conform to Comparable. The
list, however, is surprisingly short, and half bridge over to native Swift
types that are already Comparable:
- [NSDate compare:]
- [NSIndexPath compare:]
- [NSNumber compare:]
- [NSString compare:]
Looks like NSIndexPa
Hi Chris,
Thanks for bringing this idea to the list.
Is NSDate really the only thing that we want to conform to comparable, or is
there a set of classes which should do so? I’d like to think about the larger
set of consequences here (and if possible, deal with one coherent answer for
all of Fo
I also agree, since all methods already exist in NSDate. Conforming it to
Comparable and Strideable is just making interface more in line with Swift
spirit.
> On Dec 6, 2015, at 11:05 AM, Brent Royal-Gordon via swift-corelibs-dev
> wrote:
>
>> I agree that it makes perfect sense for NSDate to