hello iI am trying to detect if an array isnt emptryisn't empty in order to be able to do a certain call.
I tried using this code if (![array ==nil]) however the code doesnt buildthat doesn't compile.
ImI'm sure there is a really easy explanation to this.
Update
UPDATE ifIf array is empty iI want to do this:
array = [[NSMutableArray alloc]init];
ifIf it has an object i I want to do this:
array = [[userDefaults arrayForKey:@"MyFavorites"] mutableCopy];
thanks