ios - Find missing objects in NSSet -


I have 2 NSSet, say SetA and SetB

There are 3 objects in the set = @ [Object A, Obsubs, Objective];

There are 4 objects in the set SetB = @ [ObjectA, ObjectC, ObjectD, ObjectE];

I have to find out which objects are missing in the set. In a way, I can do it again on every object in the set and find it in the set.

Question - Is there a quick way to achieve this goal in which I do not have to walk again on the whole set. Sets are dynamically populated. Use NSMutableSet and minusSet to remove elements in

Second set What is the difference for you?

Comments

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -