I have this code: for the simulator to write a NSmutableArray in a plist
NSString *path = [[NSBundle mainBundle] pathForResource: @"Array" ofType:@"plist"];
if([Array writeToFile:path atomically: YES]){
NSLog(@"write succesful");}
else {
NSLog(@"write failed");
}
but how I can check if really the file plist is empty?