I have an NSArray of objects
, which has a particular property called name
(type NSString).
I have a second NSArray of NSStrings which are names
.
I'd like to get an NSArray of all the objects
whose .name
property matches one of the names
in the second NSArray.
How do I go about this, fast and efficiently as this will be required quite often.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…