Closed younata closed 9 years ago
Swift Dictionaries require the key of a dictionary to conform to the Hashable protocol.
It would be nice to be able to use anything that conforms to Hashable (in addition to classes) as a bindable key.
This is supported in this commit thanks to Swift's MirrorType. Might even be backportable to swift 1.2 (but I won't).
Swift Dictionaries require the key of a dictionary to conform to the Hashable protocol.
It would be nice to be able to use anything that conforms to Hashable (in addition to classes) as a bindable key.