Hash value of NSDictionary

后端 未结 5 1866
温柔的废话
温柔的废话 2020-12-30 07:54

I ran into an issue, where I got the same hash value for different dictionaries. Maybe I\'m doing something obvious wrong, but I thought, objects with different content (a.k

5条回答
  •  执笔经年
    2020-12-30 08:48

    With a dictionary with only integers, strings etc. I would use dict.description.hash as a quick code.

提交回复
热议问题