Home > DeveloperSection > Interviews > NSSet vs NSMutableSet class

Posted on    November-18-2015 10:48 PM

 iPhone iPhone  Ios  Objective C 
Ratings:
 1 Answer(s)
  292  View(s)
Rate this:

Tarun Kumar

Total Post:107

Points:535
Posted on    November-18-2015 11:48 PM

NSSet and NSMutableSet both classes stores unordered collection of distinct objects.

but In NSSet when we establish a static set's entries and when it's created, thereafter we can't modified the NSSet entries.

On the other hand NSMutableSet allows addition and deletion of entries at any time and also automatically allocating memory as needed.


Don't want to miss updates? Please click the below button!

Follow MindStick