> On 09 Feb 2015, at 17:08, Yuriy Tymchuk <[email protected]> wrote:
> 
> Hi, I’m looking for a way to add an element to a Set and override the 
> existing one if it is already in the set. I found #noCheckAdd: method, but a 
> comment says that it should be deprecated. Is there any other solution I 
> should follow?

Why would you want to do that? If you need to replace the object then they are 
obviously not equal and a set may be the wrong data structure...

> 
> Uko


Reply via email to