The documentation for the NSString hash (even the iOS documentation ) contains this instruction:
You should not rely on this property having the same hash value in OS X releases.
Do we know whether it can be assumed that the property has the same value for iOS releases (as opposed to OS X)?
And do we know why this can change for OS X? (Is this, for example, because Apple could switch from, say, MD5 to another hash function at some point?)
source share