I have NSMutableArray with 50 array elements. I need to generate randomly without any repetition. Can you suggest some sample codes.
Create a local mutablearray copy of main array, and after getting random value, remove object available at random index from local array, process it till array count is 1.