[swift-evolution] [Pitch] Set of AnyObject by reference

Tino Heth 2th at gmx.de
Sun Jul 17 04:44:26 CDT 2016


> What I hope to achieve is to have a Set of unique objects by their references. For example, I might put in two rectangles with the same height and width (which makes them equal, but they are still different instances). 
I guess this is not the best place for such problems, but did you already look at ObjectIdentifier?

Tino



More information about the swift-evolution mailing list