I have one NSArray with names in string objects like this:@[@\"john\", @\"smith\", @\"alex\", @\"louis\"], and I have another array that contains
NSArray
@[@\"john\", @\"smith\", @\"alex\", @\"louis\"]
Run a loop and use isEqualToStiring to verify whether array1 objects exists in mainArray.
isEqualToStiring