Swift: operator == behavior enhancement with Cocoa objects
| Originator: | raphael | ||
| Number: | rdar://17339665 | Date Originated: | 17-Jun-2014 10:00 AM |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | Xcode 6 |
| Classification: | Enhancement | Reproducible: | Not Applicable |
Swift defines the == as part of the Equatable protocol, implemented by NSObject (extension). Because NSObjectProtocol is actually the one providing the isEqual: declaration, Swift should provide the == operator on NSObjectProtocol instead.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!