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

mod rewrite - Using "?" when rewriting the URL -

Admob integration with pygame in android -

.htaccess: Transfer name to index.php if not directory public -