I have an NSArray and need to filter out any strings that are null or rather, have \' \' (empty string). How do I do that? I have tried doing:
NSArray
N
I think this should work:
NSPredicate *predicateName = [NSPredicate predicateWithFormat:@"name!=nil AND name!=''"];