Create one nsmutableset with capacity for example 3, but you can add more than 3 objects into it. So what is the real capacity ?
From Apple Docs, seems like this is okay, but what is the purpose of "capacity" ?
Return Value A mutable set with initial capacity to hold numItems members.
Discussion Mutable sets allocate additional memory as needed, so numItems simply establishes the object’s initial capacity.