How to check an NSMutableArray is null or not ?
NSMutableArray
//if the array has a count of elements greater than 0, then the array contains elements if(myarray.count>0){ NSlog(@"myarray contains values/elements"); } else{ //else the array has no elements NSlog(@"myarray is nil"); }