I've two array, one represents a list of full-size images and the other one represents the images' thumbnail. There is a way, using NSPredicate, to check if a full-size image has a thumbnail?
The thumb is called img{number}_thumb.jpg and the full-size image is called img{number}.jpg.
You can use indexesOfObjectsPassingTest:
Using Arrays, strings and loop :
Using NSPredicate:
If you can arrange for both arrays to have identical values (that is, img1.jpg and img1_thumb.jpg are both represented by “1”, but in different arrays), then the set of images without thumbnails is: