Does NSSet's containsObject: test for pointer equality or value equality?
-containsObject:
uses -isEqual:
(and -hash
) for equality testing. This applies to -removeObject:
as well, and any other operations in NSSet
that depend on some notion of equality.