I am having some set of NSMutableArray like:
(
{
name = "ILTB";
source = "iltb.net";
},
{
name = "Baran Bench";
source = "baranbench.com";
},
{
name = "Income Tax India 1";
source = "Income Tax India 1";
}
)
How to check Key availability in this NSMutableArray. For Example I need to check "ILTB" is already in my MutableArray or not.
You probably want search from array. Now in Swift instead of
NSArray
use Swift's native array of dictionary and then usefirst(where:)
this way.