ios - Compare two arrays and set an if else -


i need compare 2 arrays (a & b), elements of belong b need set if statement. explain me better:

if (elementofarraya belong alsotoarrayb) {         //do     }else{         //do else     } 

someone me? thanks

nsarray has instance method called containsobject: this.

for further clarification, check this out.


Comments

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

Function that returns a formatted array in VBA -