Few weeks ago I ran into frustrating problem. I was dealing with custom objects
in Swift. (Actually struct with properties). They were being stored in an array.
Now, this array was going to undergo frequent activity due to user action such
as adding new elements and avoiding duplicates. So while